Run a task on node x or node y

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

       

      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

       

            Assignee:
            Unassigned
            Reporter:
            Ruud P
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: