Conditional Steps (multiple) Run? Execution Node Syntax for Jenkinsfile

Hi All,

We are migrating a job to a jenkinsfile and I would like to ask what would be the possible syntax for the image below: I could not find any example online with this Conditional Steps (multiple) > Run? > Execution node.


Thank you very much.

not sure what your asking but i’m guessing when is the syntax you want.

Thank you halkeye. What I am trying to do is if a node is online (node A), I will execute the steps and parameters exclusive for node A. If there is already a job running on node A, node B will be used with steps and parameters exclusive for node B.