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

Allow "Possible Nodes" in a Node parameter to be based on a label expression

    XMLWordPrintable

Details

    Description

      I have jobs that should only be executed on slaves matching a specific label expression, BUT with the possibility to select a specific slave within this label expression (so a Label parameter instead of a Node parameter is not an option here).

      I could be settings the "Possible nodes" in the Node parameter to only those matching my label expression, but my pool of slaves changes quite frequently. When a slave is added or removed from the pool, it would take a long time to edit all my jobs to add/remove this slave.

      A solution would be to add a "Allowed label expression" field to the Node parameter, that would show only the slaves matching this label expression when launching the job.

      Attachments

        Issue Links

          Activity

            clement_denis Clément Denis created issue -
            clement_denis Clément Denis made changes -
            Field Original Value New Value
            Remote Link This issue links to "Pull Request #2 (Web Link)" [ 10604 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151991 ] JNJira + In-Review [ 178141 ]
            markewaite Mark Waite made changes -
            Assignee Dominik Bartholdi [ domi ]

            People

              Unassigned Unassigned
              clement_denis Clément Denis
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: