How can I reference multiple build plans in deployment project

ericmulvihill February 26, 2015

I'm attempting to retrofit a continuous deployment pipeline onto our existing Bamboo CI infrastructure. For us, a "release" consists of a set of several Wars built by several different build plans.  

It seems like a Bamboo deployment project can only reference the artifacts from a single build plan. For us, getting all the different artifacts under a single build plan feels impossible.

I'd like to aggregate build X of plan A, build Y of plan B, and build Z of plan C and call that "Release N".

Any way to do this?  (I'm using 5.7.2)  I tried making an aggregator build plan and copying the artifacts from several plans, but that method loses all references to what build the shared artifacts came from.

 

4 answers

1 accepted

3 votes
Answer accepted
Elli Pope April 6, 2016

I found this article helpful - http://blogs.atlassian.com/2013/10/sharing-artifacts-between-plans-and-other-best-practices/

Essentially, in your primary build plan you need to download the artifacts from all of your other build plans, then republish the artifacts again. Now your primary build plan contains all of the artifacts from your other builds, and your deployment job can access any/all of the artifacts.

Pushkar Rege October 6, 2016

We ended up using this approach as well. Big downside of this approach is that when you want to make any change to the secondary build plan(s), you need to kick off the entire build pipeline

1 vote
phil_scala July 7, 2015

I am embarking on the same situation as the OP, any experts have some opinions?  As of now I have to have separate "deployment" projects 

0 votes
Alec Keeler October 14, 2015

Same issue here, my Build Project contains multiple build plans that build various sub-components of our product from different svn repos. These components are dependent on each other for build purposes and bamboo dependencies work well for triggering the rebuild of components when something they build against changes. But to deploy a release we need to deploy all the components, from about 40 build plans. How do you suggest we configure a Deployment project to collect and deploy the artifacts from these 40 Build Plans ?

0 votes
Eclipse Trading August 12, 2015

Same problem, it is troublesome to have multiple Deployment project tho, because 1) we need to remember to deploy together during deployment, and 2) in case of issue, we need to remember to roll back both projects.

On top of this, our system is quite complex, these inter-dependency is not the same during every release.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events