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

Give expression examples for restricting where builds can run

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • Jenkins ver. 1.609. I don't know the JRE or OS, sorry (my guess in Windows OS) because I don't manage these machines.

      For the check-box "Restrict where this project can be run," there is nothing in the help that mentions what kind of expressions you can write.

      From trial and error, I deduced that "a || b" means "use either a or b as build nodes." I expected a comma, like other fields (eg. projects that can access archives, projects to run after this build, etc.) I'm sure there are other valid expressions, such as using "*".

      Can you please update the help for this field to include some examples? I ended up looking at the source on GitHub and guessed this from the use of Antlr.

          [JENKINS-28380] Give expression examples for restricting where builds can run

          A A created issue -
          A A made changes -
          Issue Type Original: Bug [ 1 ] New: Task [ 3 ]

          Daniel Beck added a comment -

          I'm fairly sure this help existed.

          Daniel Beck added a comment - I'm fairly sure this help existed.
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163218 ] New: JNJira + In-Review [ 181139 ]
          Daniel Beck made changes -
          Assignee Original: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Labels Original: jenkins user-experience New: jenkins newbie-friendly user-experience

            Unassigned Unassigned
            ashes999 A A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: