Summary
Manual "Final Stage" triggers a new build if there are failed jobs in previous stages.
Steps to Reproduce
- 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}'
- Create a new plan with a failing job in the Default stage
- Add a new stage selecting both "Final stage" and "Manual Stage" options
- Run the plan
- 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.