Trigger plan from plan

Hello,

I would like to ask, if there is any easy way to trigger one or more plans (subplans) from within another plan (master) and wait till they finnish inside the master plan.

Expample:

I have master plan which has three parts:

  • initiliazation - prepares environment
  • build - calls one or more subplans to build their stuff
  • final - collects all results, generates outputs, clean environment

The point is, that there is currently no easy way to start subplan from withing master plan and wait for them. Only way I found is to start subplans from "script" task via calling bamboo-api. But it uses local agent. This way I am able to employ 50 local agents in my specific scenerio for one run. These agents do nothing, just waiting till subplans finnish. Do you imagine, that I want to run more then 10 these scenerious at the same time?

I will appreciate any any advise.

Thank you

Darlock 

 

Update: Any new idea, please? If there is no way to do this, maybe that could be nice new feature in next bamboo version.  Could I ask for it in some case of Attlasian backlog? Thank you

1 answer

This widget could not be displayed.

You can use the queueBuild action in a CLI task from Run CLI Actions in Bamboo.

Thank you for your answer, but this will not help in my situation. This is still just a call/trigger/queue plan from within a specific task, which needs local agent running. I am looking for some mechanism, which could be included directly inside bamboo, like plan dependencies

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you