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?
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.