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 Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

383 views 6 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot