Reputation: 1664
I have a Bamboo plan configuration with several stages. Now I want to have these stages to execute in certain order, but independently of the result of the previous stage.
This seems to be impossible with Bamboo. Subsequent stages are executed only if the previous one is successful.
Any thoughts?
Upvotes: 8
Views: 7428
Reputation: 383856
Final stages were added to Bamboo 6.8.0 in February 2019
As mentioned at: https://jira.atlassian.com/browse/BAM-9771?focusedCommentId=1918676
The following Atlassian Community questions also asked this:
Upvotes: 2
Reputation: 1358
Might be off-topic.
But if your only purpose is to make sure that some activities are not executed in parallel and the order does not matter, then you may try to configure these activities using Jobs.
Bamboo documentation states the following:
Jobs within a given Stage will run in parallel as long as there are agents available to execute them. Otherwise, Jobs run one at a time in no particular order.
It means that if there is only 1 agent available, then there will be no parallel execution and jobs will be executed one by one.
Upvotes: 2
Reputation: 2197
"Now I want to have these stages to execute in certain order, but independently of the result of the previous stage."
The statement seems self contradicting. If you want the stages to execute in order, that implies some dependency/coupling between them. Yet you want them to execute independently of the result of the previous stage.
The they are truly independent you can configure them as independent jobs as part of one stage. These jobs(which may contain several ordered tasks) will execute independently and in parallel.
Please see the following for more details:
http://quickstart.atlassian.com/download/bamboo/get-started/bamboo-elements
Hope this helps other who stumble upon this question.
Upvotes: 2
Reputation: 1501
Dependencies is the way to do this. Separate your stages into separate plans. Have each plan depend on (be triggered by) the prior plan.
This doesn't give you exactly the same results, but it is the only way to do it if you need ordered stages.
Upvotes: 1