I know you can do terninary operations. Is it possible to chain them?
so,
if branch = "main" ? "@daily":""
if branch = "master" ?" @hourly":""
and so on?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop
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