I was wondering if it was possible to create a final stage in a Bamboo build plan which will be run even if earlier stages in the plan have already failed.
This is useful for doing cleanups, or in our case reporting. So we have a final stage that gathers up the result and create a test report. We need this to run as a final stage, since it needs artifacts from all previous jobs. The way Bamboo works now we only get a test report if all tests pass. If any tests fail the job will never run.
I did find a similar quiestio[1], but it's not exactly the same and there was no real answer there either.
Community moderators have prevented the ability to post new answers.
Currently, it can't be done. There's an improvement request for it here: https://jira.atlassian.com/browse/BAM-9771
Not only a "final" stage, but perhaps a stage that runs if anything fails.... a "catch" stage, if you will. Now, where have we seen this before?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried to create a Final Tasks?
Simply drag and drop tasks below this "Final Tasks" bar and it will be executed regardless Fail or Complete stage.
It is usefull for example to claening cache.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know about the final task, but this is inside a job. I want the same, but at the plan level. So I want the feature 'final phase', with the same functions as the final task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.