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

Jenkinsfile path of Multibranch pipeline

XMLWordPrintable

      I want to set the path of Jenkinsfile in Multibranch job, because I would like to build two different product from same git repository. These products will have more branches (develop_product1, release_product1, develop_product2, release_product2), that is why I have to create multibranch jobs. I know it strange, but this is the task. Currently, the multibranch use the repo root Jenkinsfile, and I have to write into this the two different build logic. I think it would be nice, if I can override this path, then I will create two dirs for these jenkinsfiles.

            Unassigned Unassigned
            kislaci Hajdu Laszlo
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: