Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to download a specific version of an artifact using Yaml 2.0?

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?

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 12, 2019

Hi @Niek Nooijens

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!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events