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".
How do you solve the problem where binaries contain the release version number? E.g. version info resource in DLL's and EXE's
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jonathan, did you find a solution yet? I'm in a similar situation and asked Atlassian Support. They created an improvement request, but my hopes are low given the complexity this would probably introduce into Bamboo: https://jira.atlassian.com/browse/BAM-16231
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.