Hi,
your problem is actually addressed in the example.
The closure is evalutated only during the parallel call. There $name is
constant.
Put a
def xname = name
inside your loop and use xname in the closures.
(in the example it is the def index=i line).
Björn
Am Mittwoch, 9. August 20
Huh... Only now I noticed that my issue is mentioned in the pipeline
parallel example. You can ignore this topic :)
//the dummy parameter is for preventing mutation of the parameter before the
execution of the closure.//we have to assign it outside the closure or it will
run the job multiple ti