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

Add option in Bamboo for locking agent for the complete plan build.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Agents
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Hi I have build plan setup in Bamboo as follows:

      Stage 1:
      Job: Clean History
      Job: Clean Repository
      Job: Clean Cache
      Stage 2:
      Job: Build and Test
      Stage 3:
      Job: Report Results

      Now the same plan is run for multiple branches in the GIT repository. Since we have only single clean environment we have only single Agent running all jobs sequentially. But what I see is when multiple checkin happen the Stages across multiple branches get mixed up, thus resulting in the following run sequence where stages of one branch get mixed with stages of other branch.

      Branch 1, executes Stage 1
      Branch 2, executes Stage 1
      Branch 1, executes Stage 2
      Branch 2, executes Stage 2
      Branch 1, executes Stage 3
      Branch 2, executes Stage 3

      With this work flow, the last job will definitely fail as it will never get a clean environment. Not sure if this is a bug, but I believe a build plan run should be atomic and isolated and is currently not the case.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ef71436e3812 Rahul Rohilla
              Votes:
              10 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: