Hi,
I'm creating pipeline which execute 10 parallel builds. My Jenkins instance has 2 executors. I stash sources first. Then unstash them at the beginning of each build. How to force Jenkins to use clean folder (node) for every run?
Currently it use 'JOBNAME' folder and 'JOBNAME@2' folder. Run which is started in 'JOBNAME@2' folder builds ok. But run which use "JOBNAME' folder fails during unstashing.
I found some similar problem here where the solution was to use:
node {
ws {
unstash 'sources'
}
}
This solution doesn't work for me.
--
Bartłomiej Zieliński