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

Multibranch Plugin: Shouldn't run every branch on re-index


    • Similar Issues:


      Whenever a multi branch project gets reindexed, every branch with a discovered Jenkinsfile triggers a build. I have logic in my Jenkinsfiles that actually deploys into a specified infrastructure environment if a build is triggered on the develop branch. If the project gets re-indexed, then Jenkins will attempt to deploy (and not just test) when I would strongly prefer that it not deploy.

      It would be an improvement to allow users to configure indexing to only initiate a build if the branch is new to the multi branch project. I believe this would be the preferred behavior for many.


          Issue Links


            demitriswan Demitri Swan created issue -
            mjdetullio Matthew DeTullio made changes -
            Field Original Value New Value
            Component/s branch-api-plugin [ 18621 ]
            Component/s workflow-multibranch-plugin [ 21465 ]
            Component/s multi-branch-project-plugin [ 21127 ]
            mjdetullio Matthew DeTullio made changes -
            Assignee Matthew DeTullio [ mjdetullio ] stephenconnolly [ stephenconnolly ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-32396 [ JENKINS-32396 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-34005 [ JENKINS-34005 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 170906 ] JNJira + In-Review [ 184087 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Won't Do [ 10001 ]
            stephenconnolly Stephen Connolly made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-1154 (Web Link)" [ 18762 ]


              • Assignee:
                stephenconnolly Stephen Connolly
                demitriswan Demitri Swan
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: