Agent label conditional

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Agent label conditional

Alex Panayi
Hey guys.

I have a step where i want to conditionally pick the agent based on the parameter. 

I can easily do this by duplicating the step, and having a when statement, but this creates step duplication. I just want the agent label to be dynamically changed based on a parameter.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6ed5e088-55f8-4edc-8eae-8b02abe8566fn%40googlegroups.com.