Details
-
Type:
Bug
-
Status: Reopened (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: workflow-durable-task-step-plugin
-
Labels:None
-
Similar Issues:
Description
it is not possible to run a post build on node A or Node B or C (anything that is available)
post {
always {
node(label: 'A' or 'B' or 'C') {
foo()}
**when i add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on node a and not on node b. I use declarative pipeline
Attachments
Issue Links
- is blocked by
-
JENKINS-50221 pipeline run task on node x or/and node y
-
- Closed
-
So first, you can't run a node step inside a post condition unless you're inside a script block. But in general, node or agent's label type will allow you to do labels like A || B.