Manual "Final Stage" triggers a new build if there are failed jobs in previous stages.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 6.6.0
    • Affects Version/s: 6.1.1, 6.5.0
    • Component/s: Builds
    • None
    • Severity 3 - Minor

      Summary

      Manual "Final Stage" triggers a new build if there are failed jobs in previous stages.

      Steps to Reproduce

      1. Activate the "Final Stage" Dark feature
        curl -X PUT <server_url>/rest/admin/latest/darkFeatures/bamboo.final.stages -u<user>:<password> -H "Content-Type: application/json" -d'{"key":"bamboo.final.stages","enabled":true}'
        
      2. Create a new plan with a failing job in the Default stage
      3. Add a new stage selecting both "Final stage" and "Manual Stage" options
      4. Run the plan
      5. Run the "Final Stage"

        Expected Results

      When the manual final stage is started, only this stage should run, even if there are previous failed stages.

      Actual Results

      The manual "final stage" triggers a new build from the beginning.

      Workaround

      Do not use manual stage for stages that are using this dark feature.

            Assignee:
            Marcin Gardias
            Reporter:
            Gabriel Ribeiro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: