Artifact Sharing , which is branch specfic.

I've been looking into sharing artifacts between plans, which all work fine until I want to pick up a specfic artifact that has been produced by a specific branch. By deafult the Artifact Downloader seems to take the latest published artifacts from the default branch.

This issue seems to have been brought up before and even though it seems it was fixed in 5.1.1 (as per BAM-13584) , still in 5.3 I cannot chose a branch to pick up my shared Artifacts from in the Artifact downloader. Just wondered if this is still a issue or am I missing something?

Thank you

3 answers

Same problem here using the on demand version. Very much not handy...

I have the same problem. Is there a solution for it? 

It is currently not supported by Artifact downloader task to select the branch.

However, I found a workaround for this.

I needed to:

  • include the branch name in the artifact name (e.g. product-trunk.war, product-integration.war)
  • change the build plan artifact definition and define
    • TRUNK war artifact as *trunk.war
    • INTEGRATION war artifact as *integration.war
    • ANY war artifact as *.war

The last ANY artifact is needed for the deployment plans to fetch the artifact because in deployment projects there IS a possibility to select a branch.

Using this workaround you can create even triggerred plans that will deploy from branches you choose in their definition.


Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

46 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you