Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to kick off a child dependent plan regardless of the parent build being successful?

Jared
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2018

plan1 will run a set of tests.  The plan will fail due to some tests failing.  

plan2 will collect pass/fail status of tests run in plan1.

 

I would like plan1 to trigger plan2 regardless of failing status.  Is this possible?

1 answer

0 votes
Jeremy Owen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 17, 2018

Hey Jared,

You could use the below plugin and setup a trigger on Plan 2 that triggers after Plan 1 failure:

You'd still need to maintain the dependency that is triggering Plan 2 after successful builds in addition to it.

If you wanted to rely on native Bamboo functionality only, I would suggest setting up a Script Task as a Final Task (gets executed even if previous jobs fail) in your plan that triggers Plan 2 via Bamboo's REST API.

E.g.

curl --user ${bamboo.username}:${bamboo.password} -X POST http://bamboo:8085/rest/api/latest/queue/PROJ-PLAN-KEY

I've also included the an existing feature request which is relevant to your requirement, if you'd like to keep tabs on it:

Hope this helps. :)

Cheers,

Jeremy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events