With the workflow plugin, what's a good way of sharing the workspace from one node to another?
The only example I have found is this: https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md#multiple-threads It uses archive 'pom.xml, src/' on the first node, followed by sh 'rm -rf *' unarchive mapping: ['pom.xml' : '.', 'src/' : '.'] on the second node. That should work, but I don't want to explicitly enumerate the files and directories in my workspace, and also I don't want to leave these files clogging up the archive system after the workflow has finished. If I put the git repo in a subdirectory and archive/unarchive that, it should solve the enumeration problem, but it still leaves me with the disk space problem. Is there some sort of transient archiving feature I could use? Alternatively, if I clone the same git repo to both nodes, how can I ensure that they both check out the same git revision? -- 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/2f2da7e6-23d1-4ca1-bfda-3cef70b8ebfa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
