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

Support MultiBranchProjectFactory configurations on the OrganizationFolderJob

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      In 2.15 of theĀ Pipeline Multibranch Plugin the feature Option to select a script name/path other than Jenkinsfile. was added as part of https://issues.jenkins-ci.org/browse/JENKINS-34561.

      Adding multiple workflow recognizers should be supported in the OrganizationFolderJob DSL in something like the following (using WorkflowBranchProjectFactory as an example of an extensible context):

      organizationFolder('folder') {
        projectFactories {
          workflowBranchProjectFactory {
            scriptPath('.jenkins/Jenkinsfile.groovy')
          }
        }
      }
      

            daspilker Daniel Spilker
            mkobit Mike Kobit
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: