It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Child plans are using improper artifacts when specifying a branch

Hello,

I am experiencing issues, as a bamboo user (Atlassian Bamboo version 5.8.1 build 5866) with dependencies between plan.

Let's say  I have a stash repo with one master branch , one develop branch. I have a given plan with default branch master and plan branch develop named "M".

I also configured two dependent plans C1 and C2. Both are working with same stash repository. C1 is only working with master branch. C2 is working with develop branch. (Plan configuration / repo / branch, and no plan branch).

What I would expect: if M is built with plan branch master, the C1 is triggered. If M is built with plan branch develop, the C2 is triggered.

What I can see: this is the case, but the artifacts which are used are incorrect.

M <-> C1 is okay. When a change occurs on master, M is built, artifact are created. Then C1 is triggered, the artifacts coming from master are used by C1 

M <-> C2 is not okay. When a change occurs on develop, M is built, artifact are created. Then C2 is triggered,  the artifacts coming from master are used by C2 (instead of the one previously built).

Dependency configuration is:

 

Could it be a bad configuration ? Or maybe a bug ?

Thanks for your help. Regards,

Guillaume 

2 answers

0 votes
Jobin Kuruvilla [Go2Group] Community Leader Sep 22, 2015

You should be able to specify the branch in the artifact download task. Are you not able to do that? See https://jira.atlassian.com/browse/BAM-13584

0 votes

There is no option to select a branch. From what I can understand (coming from documentation and jira) artifact download tries to match the plan branch with the parent branch. If there is a match, then this artifact is taken, if not, then the one from default branch is taken.

 

I can't find in UI any place where you can specify a branch in artifact download job.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Opsgenie

Handling Opsgenie Alerts

Hi everyone, welcome to the kb articles for Opsgenie FAQs. I'm one of the Technical Support Engineers for Opsgenie who will be providing weekly posts on FAQs from customers.   All alerts are ...

66 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you