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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

103 views 14 7
Join discussion

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