Hi there
We want to chain together several projects in bamboo.
This is already possible by downloading artifacts from a different repository as so:
- artifact-download:
source-plan: MYPROJECT
artifacts:
- destination: external_folder
- name: artifact1
- name: artifact2
however, this method always downloads the artifact from the latest build from that repository! To improve stability of our software we want to specify a specific version of an artifact in our yaml. So far we tried to use git tags to create artifacts in repository A which include the git commit-number in their name, but when we want to download that specific file with that specific version name from a different project this always fails!
how do we fix this?
Welcome to our community!
Bamboo YAML specs do not provide a specific feature for that, but you could use the strategy provided in this article which involves a Curl request to Bamboo:
In your case that would be a script task with that curl call. The down-side of it is that you will need to use your credentials. You could set them in the password variables to remove them from the YAML file.
I hope that helps!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.