Hi all, i am building pipeline on my project that uses 5 DB servers.

So based on build variable i want to set node name. Like this..

env.NODE = 'blabla'


node('${NODE}') {
  //some code
}

but each time i get error - There are no nodes with the label ‘${NODE}’

Thanks for help in advance...

-- 
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/bf6fe502-84b4-401a-ae57-e003e8e37f01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to