Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-15899

Branch builds do not honor Linked Repos includes/excludes on branch creation

    XMLWordPrintable

Details

    Description

      PROBLEM
      When a new branch is created in a repo where include filters are specified, all build plans using the linked repo with include filters that do not match the change will still run.

      TO REPRODUCE

      1. Create 1 repo in Stash named say, myrepo
      2. Create 2 linked repos from the same Stash repo using different non-overlapping include filter, a/.* and b/.*
      3. Create 2 build plans with branch builds enabled, one using each Linked Repo. say, BP-A and BP-B
      4. Clone myrepo
      5. Create a new branch
      6. Commit a change, say create a/a.txt and commit this
      7. Push to remote repo
      8. BP-A and BP-B will both build
      9. Repeat the process, say update a/a.txt and push this change
      10. Only BP-A will now build

      IMPACT
      We have a dev team that wants to use a single monolithinc repo for a bunch of components and this is causing builds to kick off uncecessarily that causes delays in feedback and delays in resolving commit builds and branch inconsistency on a very regular basis directly impacting developers time due to investigation and confusion.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              de1355e7f7ca banos solomou
              Votes:
              24 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: