It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to change a large number of artifact details for bamboo tasks Edited

First a little background.

We use bamboo jobs to deploy applications to an environment.

each of our environments consists of approx 25 different apps/services,etc that are all part of the Deploy to an environment.

We typically go from QA to Staging to production but also have a couple QA environments from testing different releases/diff. branches at the same time.

so today we have INT1 to QA1 to Staging for a release that goes out next week.

the release after is in QA2 so it would be INT2 to QA2 to Staging in a month from now roughly.

I have staging currently set to pull buildnumbers and some other artifacts from QA1.  in 3-4 weeks I will need to switch all of those artifact pulls to get buildnumbers and other artifacts form QA2.

currently it takes me 30-40 minutes to change all those artifact pulls each time.

Is there a way to bulk change these?   Do I need to do this with a sql script (which I dont prefer to do but can)?

 

I have other environments like staging that also have to pull from QA1 or QA2 depending on the release schedule and time.

 

Important note

We have configured these 25 deploys per env to have 2 different artifact pulls in the job.  One is set to pull from QA1 the other is set to pull from QA2 but at any given time, only 1 of these is enabled and the other disabled.

 

thanks

Lance

1 answer

I was able to see that the artifact task is actually defined and enabled in xml_definition_data.

 

Now have to find if there is a way to call an api to set that.  doing this via sql is not going to be helpful.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

659 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you