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

From which branch will bamboo take the dependency?

terence-hk.fung April 27, 2017

problem background:

I have 3 projects: Utility, Product and Application.

Product has dependency on Utility, and Application has dependency on Product.

So in Bamboo, I have setup to clean install Utility first, then Product, and lastly Application. At the same time, I also have branches, namely DEV, UAT, PROD. This serve as a level of development stage, UAT and production stage. once development stage is complete, I will merge it to UAT branch.

I have NOT merge Utility project from DEV to UAT branch, but I can still do clean install on UAT branch. Obviously, DEV have a more complete version of Utility project and UAT have a less complete version of Utility project.

Then I do a build on Product project on DEV branch and it failed due to a lot of missing components. From my understanding, it is taking Utility.jar which is generated from the UAT branch.

 

Question:

Should not it be taking the Utility.jar that is generated from DEV branch instead of UAT branch?

How can I make sure Bamboo to keep an Utility.jar for DEV and another one for UAT?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events