Using a Jenkinsfile, I have 2 agents (master, nodeA). 

I prefer my job to run on nodeA. If its not available (its a ec2 instance), 
i want it to run on master. 

Is there a way to declare this in a pipeline? I know there is a feature to 
prefer an agent or explicity set it as a label but I really want the logic 
to be in a pipeline. 

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ec7bccba-4698-4ce3-9c07-4cb19100d156n%40googlegroups.com.

Reply via email to