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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 16m ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

4 views 0 1
View question

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