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

Publish two plans related to each other [Java Specs]

Michael September 1, 2022

I want to publish two plans that are related to each other. But this doesn't work as Bamboo throws an error because the related plan doesn' exist yet.

  • PlanParent has a child dependency to PlanChild.
  • PlanChild has an Artifact download task of artifacts from PlanParent.
bambooServer.publish(planParent); // fails because planChild doesn't exist
bambooServer.publish(planChild);

// ---

bambooServer.publish(planChild); // fails because planParent doesn't exist
bambooServer.publish(planParent);

How to publish those two plans?

1 answer

0 votes
Michael September 2, 2022

Looks like there is no better way than doing it in two steps.

1. Publishing the plans without the child plan dependencies
2. Publish the plans again including the child plan dependencies.

This worked for me.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events