Is it possible to have an action performed when a person clicks "Create release" in Bamboo? I was thinking of using a workflow for my builds like the following.
Is there a way to do this with Bamboo? Is there an alternative workflow that I should consider instead that allows me to include the release version in the compiled product and modify the SCM? I've been finding problems doing this as part of a deployment plan because the release build needs to be performed once while I may have multiple environments I need to deploy to.
If I try to do this during the build plan, I can't take advantage of the release versioning feature and the release build still won't be triggered if somebody pushes "Create release". Any help would be appreciated.
You can do a build as part of your release plan. All of the build tasks are available in the release but that would defeat the idea of releasing a build. You've created a new build so your not really release what you built, and presumably tested.
But I share your problem. How can a label a build when I don't know what release version will be? WHat I did is label the build with the build ID. The build number can always be used to trace back to the release history.
You can also use the planKey & build number as part of your release version. See "add variable to version".
As I understand it, does that mean I have to have a build plan (for testing pull requests) and a separate release plan? Is there anyway to leverage the "Create release" button in that case or do I have to make it so every build performed in the "Release plan" is a release? There doesn't seem to be a way to link two different plans to each other in the UI.
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
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!
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