Re: wrong workspace picked up by node(..) when running parallel jobs

2017-10-25 Thread Robert Hales
There is no guarantee that you will get the same workspace on a node. It will try, but a workspace can only be in use by 1 job at a time. So if you require a specific workspace, you have a few options: Define a custom workspace with the ws step. But I think 2 jobs still can't use it at the sam

wrong workspace picked up by node(..) when running parallel jobs

2017-10-25 Thread Torsten Reinhard
Hi, this pipeline sample fails, when started multiple times and running in parallel at the same time. Assigning a captured node again seems to be not enough - the workspace isnĀ“t matching than what will lead to very strange behaviour. import com.cloudbees.groovy.cps.NonCPS String buildNode St