For JENKINS-40370, we'll be doing new syntax for when. Given certain similarities to agent, it makes sense to have a common look and feel to the two sections' syntax, and we already had an interest in making the agent syntax more flexible going forward, so let's move from

      agent label: 'foo'
      

      to

      agent {
        label 'foo'
      }
      

      We'll still support agent none and agent any, since they're useful shortcuts that we've already got special logic for.

          [JENKINS-40524] Rework agent syntax to be more extensible

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Epic Link New: JENKINS-40493 [ 177167 ]
          Andrew Bayer made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Andrew Bayer made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Andrew Bayer made changes -
          Remote Link New: This issue links to "PR #73 (Web Link)" [ 15141 ]
          Andrew Bayer made changes -
          Link New: This issue is blocking JENKINS-39684 [ JENKINS-39684 ]
          Andrew Bayer made changes -
          Remote Link New: This issue links to "PR #85 (Web Link)" [ 15209 ]
          Andrew Bayer made changes -
          Link New: This issue is blocking JENKINS-40915 [ JENKINS-40915 ]
          Andrew Bayer made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Liam Newman made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            abayer Andrew Bayer
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: