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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins 1.642
      bitbucket-branch-source-plugin 1.5
      scm-api 1.2

      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

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

              Created:
              Updated:
              Resolved: