Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50221

pipeline run task on node x or/and node y

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • _unsorted
    • None

      its not possible to do like

      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 a and not on b

      post {
          always {
            node(label: 'A||B||C') {
              foo()}

            oleg_nenashev Oleg Nenashev
            ruudp Ruud P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: