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

PR's do not meet the criteria when Include Branches is set


    • Similar Issues:


      When a multibranch pipeline is created with Bitbucket, if the Include Branches Filter is changed from the default * to a different value, PR's are not being built.

      My understanding is that PR's should be built regardless of the branch filters specified.

      Steps to reproduce:

      1. Create a new Multibranch Pipeline
      2. Choose Bibucket as the Source and specify the repo info as well as an Include Branches
        1. For example I specified: "master* PR*" to build the master + PR branches but nothing else
      3. Create a PR in the Bitbucket run the Branch Indexing
      4. Jenkins will not pick up the PR
      5. Modify the Include Branches back to the default of just a star * and Run Branch Indexing
      6. Jenkins will correctly pick up the PR
      7. If you modify it back to "master* PR*" Jenkins will again remove the PR job because it does not meet the criteria


          Issue Links


            issc29 Isaac Cohen created issue -
            rtyler R. Tyler Croy made changes -
            Field Original Value New Value
            Workflow JNJira [ 173639 ] JNJira + In-Review [ 185252 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-36548 [ JENKINS-36548 ]
            hrmpw Patrick Wolf made changes -
            Assignee Antonio Muñiz [ amuniz ] CloudBees Inc. [ cloudbees ]
            stephenconnolly Stephen Connolly made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            stephenconnolly Stephen Connolly made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            stephenconnolly Stephen Connolly made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CD-153 (Web Link)" [ 19031 ]


              • Assignee:
                cloudbees CloudBees Inc.
                issc29 Isaac Cohen
              • Votes:
                3 Vote for this issue
                6 Start watching this issue


                • Created: