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

Support specifying node/agent label in multibranchPipelineJob

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: job-dsl-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.222.3
      job-dsl-plugin 1.77
    • Similar Issues:

      Description

      As shown in the job-dsl api-viewer on my instance and in the official docs, multibranchPipelineJob doesn't support specifying an agent/node label like freestyle job does. This would be very useful to enforce this critical detail at the "job root" instead of requiring individual branch Jenkinsfiles to specify it correctly.

      Please let me know if there is a workaround. Perhaps something lower in the property tree for multibranchPipelineJob allows specifying a label that will be used by all branch jobs?

        Attachments

          Activity

          timblaktu Tim Black created issue -

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            timblaktu Tim Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: