I setup my team's continuous integration and delivery system in Bamboo before Bamboo had deployment plans. I have two projects, one for each product we have and within each project I have four plans:
This is tenuous because any time I need to make a change to the build or deployment process I have to do it in eight plans (because we have two projects that each contain these four plans).
I'm imaging switching to one build plan with a deployment plan for each environment. My questions are:
Yes, switching to one build plan will definitely make the process easier.
You need to add your branches in Bamboo plan (testing, staging, default...) Afterwards you can define different variables per branch. This will allow you to have different transforms for your build depending on a branch.
Not necessary, if you need the build which is the same for several environments - you can just deploy it there.
No, probably you would need to keep them (see 1.) if you want to have specific build for each environment. As soon as you have the build that is possible to deploy to any environment, then you can get rid of them.
Then you create 1 deployment plan for your project, add all environments you need and configure the specific trigger for each of them. For example: staging env - you change "Branch to trigger this deployment" to 'staging'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With