Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.1
-
None
-
Severity 2 - Major
-
Description
Steps to reproduce (within a plan that connects to a SCM with branches)
- Configure a plan variable
- Create a branch
- Configure the variable with a value (and for instance... pass it as -Dvar=${bamboo.varname} in a maven task)
- (maybe execute the plan, don't know if it is necessary)
- Delete the branch
- Create a new branch
- Configure the variable to have a different value
- Run the plan
- The value passed to the task is the old one
I think this may relate to the fact that bamboo names branches as "<plan-name> + index", and this does not take the deleted branches history into account, so my <bamboourl>/PLAN0 branch already existed and it is using the values that were configured in that old branch.