Multiple deployments

I have a requirement to deploy multiple artifacts in the deployment projects. currently i have 4 environments to deploy dev/qa/uat/prod. so my requirement is i have like 10 artifacts which i download using artifact download task, then i use scp task to send them to the hosts. I need a option to send the artifacts on choice i.e

scenario 1:

will send 3 artifacts

scenario 2:

will send 10

scenario 3:

will send 1

So, basically i should have an option to scp them according to my requirement,there is no fixed number of artifacts i want to send.

i can do this by using multiple scp tasks and enabling or disabling them as and when needed or i can even use a shell script to do this. But, it will be a burden if there are more files and even with the script i need to pass the artifact as an argument.

please help me

 

 

1 answer

At build time, do you know which artifacts go where (or maybe at deploy time).  If so, you could make tarfiles for each scenario.

I will know at deploy time, but number is not consistent, if I know during deployment time that i have 5 artifacts, my developer can select only 2. 

Suggest an answer

Log in or Join to answer
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,096 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot