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

Support multiple Jenkinsfiles from the same repository

      This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

      If I had multiple Jenkinsfiles... repository github.com/apple/swift

      /Package.jenkinsfile 
      /Incremental.jenkinsfile
      /Incremental-RA.jenkinsfile
      /Assert.jenkinsfile
      /src/…
      

      I would like to create multibranch Pipelines for each so I have the resulting structure:

      /Apple
      /Apple/Swift - Package
      /Apple/Swift - Incremental
      /Apple/Swift - Incremental-RA
      /Apple/Swfit - Assert
      

      Note that in this example I have an organization folder for github.com/apple and it is creating multiple multibranch pipelines for each Jenkinsfile discovered in each repository.

      I have written up examples and use cases in this doc

          [JENKINS-43749] Support multiple Jenkinsfiles from the same repository

          James Dumay created issue -
          James Dumay made changes -
          Description New: This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

          If I had multiple Jenkinsfiles like so:
          {code}
          github.com/apple/swift
          /Package.jenkinsfile
          /Incremental.jenkinsfile
          /Incremental-RA.jenkinsfile
          /Assert.jenkinsfile
          /src/…
          {code}

          I would like to create multibranch Pipelines for each so that:
          {code}
          Item structure
          /Apple
          /Apple/Swift - Package
          /Apple/Swift - Incremental
          /Apple/Swift - Incremental-RA
          /Apple/Swfit - Assert
          {code}

          In depth [use cases are provided in this doc|https://docs.google.com/document/d/1a3Q8i15d9umxZjJVU7gygqmsHiFQX2lOT0l-xpZ5tT8/edit?usp=sharing]
          James Dumay made changes -
          Description Original: This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

          If I had multiple Jenkinsfiles like so:
          {code}
          github.com/apple/swift
          /Package.jenkinsfile
          /Incremental.jenkinsfile
          /Incremental-RA.jenkinsfile
          /Assert.jenkinsfile
          /src/…
          {code}

          I would like to create multibranch Pipelines for each so that:
          {code}
          Item structure
          /Apple
          /Apple/Swift - Package
          /Apple/Swift - Incremental
          /Apple/Swift - Incremental-RA
          /Apple/Swfit - Assert
          {code}

          In depth [use cases are provided in this doc|https://docs.google.com/document/d/1a3Q8i15d9umxZjJVU7gygqmsHiFQX2lOT0l-xpZ5tT8/edit?usp=sharing]
          New: This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

          If I had multiple Jenkinsfiles like so:
          {code}
          github.com/apple/swift
          /Package.jenkinsfile
          /Incremental.jenkinsfile
          /Incremental-RA.jenkinsfile
          /Assert.jenkinsfile
          /src/…
          {code}

          I would like to create multibranch Pipelines for each so I have the resulting structure:
          {code}
          /Apple
          /Apple/Swift - Package
          /Apple/Swift - Incremental
          /Apple/Swift - Incremental-RA
          /Apple/Swfit - Assert
          {code}

          Note that in this example I have an organization folder for github.com/apple and it is creating multiple multibranch pipelines for each Jenkinsfile discovered in each repository.

          In depth [use cases are provided in this doc|https://docs.google.com/document/d/1a3Q8i15d9umxZjJVU7gygqmsHiFQX2lOT0l-xpZ5tT8/edit?usp=sharing]
          James Dumay made changes -
          Description Original: This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

          If I had multiple Jenkinsfiles like so:
          {code}
          github.com/apple/swift
          /Package.jenkinsfile
          /Incremental.jenkinsfile
          /Incremental-RA.jenkinsfile
          /Assert.jenkinsfile
          /src/…
          {code}

          I would like to create multibranch Pipelines for each so I have the resulting structure:
          {code}
          /Apple
          /Apple/Swift - Package
          /Apple/Swift - Incremental
          /Apple/Swift - Incremental-RA
          /Apple/Swfit - Assert
          {code}

          Note that in this example I have an organization folder for github.com/apple and it is creating multiple multibranch pipelines for each Jenkinsfile discovered in each repository.

          In depth [use cases are provided in this doc|https://docs.google.com/document/d/1a3Q8i15d9umxZjJVU7gygqmsHiFQX2lOT0l-xpZ5tT8/edit?usp=sharing]
          New: This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

          If I had multiple Jenkinsfiles like so:
          {code}
          github.com/apple/swift
          /Package.jenkinsfile
          /Incremental.jenkinsfile
          /Incremental-RA.jenkinsfile
          /Assert.jenkinsfile
          /src/…
          {code}

          I would like to create multibranch Pipelines for each so I have the resulting structure:
          {code}
          /Apple
          /Apple/Swift - Package
          /Apple/Swift - Incremental
          /Apple/Swift - Incremental-RA
          /Apple/Swfit - Assert
          {code}

          Note that in this example I have an organization folder for github.com/apple and it is creating multiple multibranch pipelines for each Jenkinsfile discovered in each repository.

          I have written up examples and [use cases in this doc|https://docs.google.com/document/d/1a3Q8i15d9umxZjJVU7gygqmsHiFQX2lOT0l-xpZ5tT8/edit?usp=sharing]
          James Dumay made changes -
          Description Original: This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

          If I had multiple Jenkinsfiles like so:
          {code}
          github.com/apple/swift
          /Package.jenkinsfile
          /Incremental.jenkinsfile
          /Incremental-RA.jenkinsfile
          /Assert.jenkinsfile
          /src/…
          {code}

          I would like to create multibranch Pipelines for each so I have the resulting structure:
          {code}
          /Apple
          /Apple/Swift - Package
          /Apple/Swift - Incremental
          /Apple/Swift - Incremental-RA
          /Apple/Swfit - Assert
          {code}

          Note that in this example I have an organization folder for github.com/apple and it is creating multiple multibranch pipelines for each Jenkinsfile discovered in each repository.

          I have written up examples and [use cases in this doc|https://docs.google.com/document/d/1a3Q8i15d9umxZjJVU7gygqmsHiFQX2lOT0l-xpZ5tT8/edit?usp=sharing]
          New: This would support scenarios where different "configurations" of a pipeline cannot share the same Jenkinsfile.

          If I had multiple Jenkinsfiles... repository github.com/apple/swift
          {code}
          /Package.jenkinsfile
          /Incremental.jenkinsfile
          /Incremental-RA.jenkinsfile
          /Assert.jenkinsfile
          /src/…
          {code}

          I would like to create multibranch Pipelines for each so I have the resulting structure:
          {code}
          /Apple
          /Apple/Swift - Package
          /Apple/Swift - Incremental
          /Apple/Swift - Incremental-RA
          /Apple/Swfit - Assert
          {code}

          Note that in this example I have an organization folder for github.com/apple and it is creating multiple multibranch pipelines for each Jenkinsfile discovered in each repository.

          I have written up examples and [use cases in this doc|https://docs.google.com/document/d/1a3Q8i15d9umxZjJVU7gygqmsHiFQX2lOT0l-xpZ5tT8/edit?usp=sharing]
          Alex Lourie made changes -
          Attachment New: image-2017-04-27-12-23-08-404.png [ 37461 ]
          Alex Lourie made changes -
          Attachment New: image-2017-04-27-12-23-16-078.png [ 37462 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-35415 [ JENKINS-35415 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          James Dumay made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Patrick Wolf made changes -
          Remote Link New: This issue links to "Wiki Page (Jenkins Wiki)" [ 16961 ]

            Unassigned Unassigned
            jamesdumay James Dumay
            Votes:
            105 Vote for this issue
            Watchers:
            129 Start watching this issue

              Created:
              Updated: