I want to use a list of nodes to launch a command on specific nodes, so I
tried this:
for (node_name in all_nodes) {
node(node_name) {
echo 'My name is ' + node_name
}
}
This works for the first node in "all_nodes" but then fails after that. Is
there a better way to do this?
--
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/a4ba1957-23be-4524-940c-d21b0cefb2ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.