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

Support multiple Jenkinsfiles from the same repository

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            jamesdumay James Dumay created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Description 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]
            jamesdumay James Dumay made changes -
            Description 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]
            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]
            jamesdumay James Dumay made changes -
            Description 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]
            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]
            jamesdumay James Dumay made changes -
            Description 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]
            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]
            alourie Alex Lourie made changes -
            Attachment image-2017-04-27-12-23-08-404.png [ 37461 ]
            alourie Alex Lourie made changes -
            Attachment image-2017-04-27-12-23-16-078.png [ 37462 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-35415 [ JENKINS-35415 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            jamesdumay James Dumay made changes -
            Resolution Duplicate [ 3 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            hrmpw Patrick Wolf made changes -
            Remote Link This issue links to "Wiki Page (Jenkins Wiki)" [ 16961 ]
            ssbarnea Sorin Sbarnea made changes -
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-45273 [ JENKINS-45273 ]
            jamesdumay James Dumay made changes -
            Link This issue is duplicated by JENKINS-46251 [ JENKINS-46251 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-37220 [ JENKINS-37220 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                jamesdumay James Dumay
              • Votes:
                92 Vote for this issue
                Watchers:
                113 Start watching this issue

                Dates

                • Created:
                  Updated: