Hi,
I'm experimenting with the scripted pipeline, and have a question about the
use of node('') with a label. If I have the following scenario:

node('A') { }
node('B') { }
node('A') { // Which node will be used here? }

Is there any guarantee that the second node() step for "A" will hit the
same slave as the first one, or will it use whichever slave is now
available? I'd like for the first node() to allocate one from the pool of
slaves with the label of "A", but then the second one to somehow reuse the
first one (there might be some cleanup tasks, etc that need to happen on
the original node).

Cheers,
Daniel B.

-- 
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/CAJM0iSTyKhk_jcdTrRgkB80mCWi7qn9ANPJMz-XOyfZb_7xmMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to