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

Support specifying node/agent label in multibranchPipelineJob

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-dsl-plugin
    • None
    • Jenkins 2.222.3
      job-dsl-plugin 1.77

      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?

            jamietanna Jamie Tanna
            timblaktu Tim Black
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: