Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,363
Community Members
 
Community Events
168
Community Groups

What is changing my global variable?

Edited

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

Atlassian Community Events