Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-6119

"Block build if parent plans have unbuilt changes" doesn't block when parent builds are queued

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.6.2, 2.7 M4, 2.7
    • 2.4.3
    • Bamboo Release
    • None

    Description

      I have multiple component builds set up in bamboo, with the actual dependencies indicated in the build dependencies for those builds. Set with a blocking strategy of "Block build if parent plans have unbuilt changes" - but I don't think this affects the issue.

      Because of the graph of dependencies, and the current methodology of triggering builds in bamboo, the components at the end of the dependency tree can get build multiple times for the same root reason/submission.

      Consider the builds:

      Build Parent Plans
      parent  
      child-A parent
      grandchild-B parent
      child-A

      If a change is submitted to parent source, then on a successful build, both child-A and grandchild-B builds are queued. Once child-A successfully builds, grandchild-B is queued.

      Grandchild-b gets built twice (with non-deterministic results on the first build since it uses the current parent results and the previous child-A results).

      Attachments

        Activity

          People

            mgardias Marcin Gardias
            6d20089db1d5 Larry Ross
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: