Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,480
Community Members
 
Community Events
168
Community Groups

Publish two plans related to each other [Java Specs]

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

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
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

313 views 0 7
Read article

Atlassian Community Events