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

Parameterization of "Restrict where this project can be run"

      Original reporter misery

      We have some jobs than can be merged into one "multi branch" job. The only reason is that they need to run on another slave if it is branch "A" or branch "B". As this cannot be evaluated if the job started it needs to be "hardcoded" to the job configuration.

      Idea:
      Write in "global" job in "Restrict where this project can be run" field for example "Windows7_\$SUBJOB_BRANCH" and it will be "Windows7_stable" and "Windows7_master" in the sub projects.

          [JENKINS-32243] Parameterization of "Restrict where this project can be run"

          Historically this sort of thing has never been supported. You may be able to accomplish this with Pipeline Multibranch Projects.

          Matthew DeTullio added a comment - Historically this sort of thing has never been supported. You may be able to accomplish this with Pipeline Multibranch Projects.

            mjdetullio Matthew DeTullio
            mjdetullio Matthew DeTullio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: