Deployment jobs to same environment may execute in parallel

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 5.9
    • Affects Version/s: 5.2
    • Component/s: Deployments
    • None

      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'
      

            Assignee:
            Unassigned
            Reporter:
            adambrengesjo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: