This question is in reference to Atlassian Documentation: Using plan branches
I have plan targeted to develop branch in git. In bamboo I set automatical creating branches for regexp release/.+
Develop branch I need build with maven profile dev but for all of releases branches need build with prod maven profile.
I have one bamboo variable with maven profile, which is set to dev for dev branches, prod for one master branch. When new release branch is created on bamboo, the variable is set to dev as in plan.
This might be not the simplest way but it might just work for you:
Thank you Marcin.
Your solution is little bit complicated but looks acceptable for me. I will try it.
Libor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would set a different release plan for production to the dev plans and follow the instructions on https://confluence.atlassian.com/bamboo/naming-versions-for-deployment-releases-361726798.html to set the naming convention for each.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.