babbata
babbata

Reputation: 1664

Is it possible to have a stage in a Bamboo plan start even though the previous one has failed?

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

Answers (5)

Vlad.Bachurin
Vlad.Bachurin

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

MickJ
MickJ

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

alficles
alficles

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

hemant
hemant

Reputation: 155

Use Dependencies tab to do this, else use ant script.

Upvotes: 0

Related Questions