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

            People

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

              Dates

                Created:
                Updated: