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

Deployment jobs to same environment may execute in parallel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 5.9
    • 5.2
    • Deployments
    • None

    Description

      I am using Bamboo OnDemand (5.2-OD-3) and using 'After successful plan' as trigger to deploy to a sandbox/development environment.
      And I just noticed that Bamboo can execute two deployment jobs to same environment in parallel.
      Shouldn't the concurrent limit for all deployment jobs be 1 ?

      I have included some logs for the two relevant jobs. I can provide more data if you want to.
      What happened here was that job 1 failed, as it tried to execute smoke tests while job 2 was deploying (i.e. restarting services).

      simple	01-Nov-2013 09:35:50	Build Deployment of '0.1.58.91' on 'Development' started building on agent Elastic Agent on i-40f19126
      simple	01-Nov-2013 09:41:45	Failing task since return code of [C:\Users\Bamboo\AppData\Local\Temp\45219841-45318145-46628902-ScriptBuildTask-2921232762738252131.bat] was 2 while expected 0
      simple	01-Nov-2013 09:41:45	Finished task 'SmokeTests'
      simple	01-Nov-2013 09:41:47	Finished processing deployment result Deployment of '0.1.58.91' on 'Development'
      
      simple	01-Nov-2013 09:38:20	Build Deployment of '0.1.59.92' on 'Development' started building on agent Elastic Agent on i-8a61c3ec
      simple	01-Nov-2013 09:42:18	Finished task 'SmokeTests'
      simple	01-Nov-2013 09:42:18	Finalising the build...
      simple	01-Nov-2013 09:42:18	Finished processing deployment result Deployment of '0.1.59.92' on 'Development'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ca.brengesjo adambrengesjo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: