Am 02.06.2015 um 00:18 schrieb Craig Rodrigues:
| Hi,

Hola Craig,

| If you are going to use the workflow plugin, I highly recommend
| you watch this Youtube video by Cyrille Le Clerc from Cloudbees:

Aye, will do.

| That video is so good, I think it should be, put in the README.md
| file for the Workflow plugin.

Anything that helps.

| I'm not sure, but I think most of your code is unnecessary, unless
| you have it there for debugging.

Jep, it's for debugging.

| I think this should work, but you might want to change the name of
| the dir variable just to not clash with the dir() function:
|
| node ('admins') { def mydir = '7packers-boxes'

That did the trick! Stupid me...

| The dir() function should create the directory, and in the block,
| it internally does a chdir() to that directory and then executes
| the code in that block.

Ahh, I didn't even know that "dir" creates directories. I wasn't able
to find the documentation for this function. So I was kind of
stumbling in the dark. Are there docs for functions like dir?

| Regarding cleaning things up, I filed this bug:
| https://issues.jenkins-ci.org/browse/JENKINS-28382 "workflow
| plugin: no option to Wipe Out Current Workspace". That bug got
| marked as a duplicate.  There are definitely issues with respect to
| cleaning up workspaces used by the workflow plugin.

Ok, I see if I can jump on this train too ;)

Thanks a lot mate! I was near desperation since noone answered... ;)

Cheers, Shorty

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/556D5416.1060403%40koeln.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to