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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,321
Community Members
 
Community Events
175
Community Groups

How to configure bamboo artifact download for a specific version in deployment job

Hi 

I have 2 build jobs, 1 for config build and create artifact another have application build and artifact creation.

During deployment phase I want to select the version of different config builds and keeping the application build same. 

How can I am achieve this. Keep code same and deploying various config is something very generic scenario, does bamboo not supporting this or there is another way to solve this. 

Thank you 

1 answer

0 votes

Hi @Sumit Kumar Gaur,

Let me repeat your description with my own words to check if I understood you correctly.
You have one build plan with two jobs:

  • Config + artifact
  • Application + artifact

When building this plan you will possibly have different artifacts for each of those jobs.
You have a deployment project associated with this plan which should:

  1. Deploy each artifact from config job
  2. Deploy an application job artifact from a specific build repeatedly

If I got your right, this is my response:

Bamboo does not have an out-of-the-box task to download artifacts from a specific build into a deployment or build plan, but you could use REST API to download any artifact you want using a script task. For more details on how to achieve this, please check this the answer in this thread: Dowload Plan Artifacts - Atlassian Community.

Please let me know if I correctly understood your problem. If not, please help me to get on track.

Thanks @Daniel Santos  for clarification . I was looking for a plugin or similiar where I can select a artifact version to download in task . Anyway looks like it is not there and I have to use curl to download specific version . 

Like Daniel Santos likes this

You are welcome @Sumit Kumar Gaur
Yes, that is the option I see. You will need to use something like curl to download the specific version you need.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events