How to copy artifacts between plans

I have a library that is being built separately, and used in several different applications. The build isn't that long, but I don't want to have to maintain separate copies of the library build tasks in each plan for each application that uses the library, so I have set up a separate project and plans to build the library. How do I get the library artifacts over the my slaves that build the various plans dependant on this library? Artifacts sharing doesn't seem to work across plans.

3 answers

1 accepted

Yep, that os exactly what I did. Wrote a python script to do the download. It's a missing feature though: What is the point of dependencies if you can't move artifacts from one place to another? Seems like this would be a very useful plugin to have, or it should just be built in.

I don't think it is possible to copy artifacts between different plans yet.

Maybe you could try to manually download latest library artifact using url of form: http://BAMBOO/browse/PROJ-PLAN/latest/artifact/ARTIFACT_NAME - you could add a preceeding task(s) to your plans which would call wget or similar device to download shared artifacts from Bamboo. But that's quite not feasible, is it?

regards,

It's a missing feature though: What is the point of dependencies if you can't move artifacts from one place to another? Seems like this would be a very useful plugin to have, or it should just be built in.

We absolutely agree and have plans to address this in 2012.

We absolutely agree and have plans to address this in 2012

Is there a target release for this? JIRA issue I can track?

Hi Benjamin,

This item has slipped from our roadmap in 2012 but will be finding a new time to schedule this. You can follow its progress here.

Thanks
James

I am unable to view BAM-10573 for some reason.

(Permission Violation)

Sorry about that - it was mistakenly hidden.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,321 views 0 5
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