Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is changing my global variable?

Geoff_Battye July 3, 2019

I have a global variable that I use to label and version builds in a plan.

Each build needs to have its own unique build number across all branches.

The plan uses the "Version Variable Incrementer" to increment this global variable at the beginning of each build. It has "Include global variables" checked, and is using the "Bamboo Deployment algorithm" increment pattern.

This is mostly working, except that every now and then the global variable will jump back to an earlier number, and I cannot work out why.

When I look in the audit log, I can see the global variable being created over and over again (rather than updated), e.g.:

TimestampUserChanged fieldOld valueNew value
19:34, 3 JulSYSTEMVariable [uBindBuildNumber] has been created. 984
19:30, 3 JulSYSTEMVariable [uBindBuildNumber] has been created. 983
19:30, 3 JulSYSTEMVariable [uBindBuildNumber] has been created. 1006
19:24, 3 JulSYSTEMVariable [uBindBuildNumber] has been created. 1005
18:54, 3 JulSYSTEMVariable [uBindBuildNumber] has been created. 1004
18:53, 3 JulSYSTEMVariable [uBindBuildNumber] has been created. 1003
18:50, 3 JulSYSTEMVariable [uBindBuildNumber] has been created. 1002

I can't see any other uses of this variable, but we have a lot of plans so I may have missed something.

How can I work out what is going on?

 

(We are using Bamboo version 5.13.1 build 51315)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events