Declaring the node section in the pipeline workflow script as below
node(‘"PHG123" || "PSJ456"’) {
//some code block
}
Also like this
node(‘PHG123 && PSJ456’ )
//some code block
}
Both failed to respect the logical operator. jenkins log says :
There are no nodes with the label ‘PHG123" || "PSJ456’
There are no nodes with the label ‘PHG123&&PSJ456’
--
Regards
nirish okram
--
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/CAPzcO4gRNkEiewButM61Gh6hXGtF8iuvu%3DkfFbsCVegznmdMdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.