Does bamboo cache its global variables?

Hi,

I'm using a global variable in a deployment project. Its a password that I recently had to change. The deployment tasks still uses the old one. I checked in the database table called variable_definition and have confirmed that the DB holds my new valid password.

I've started and stopped the bamboo process wondering if it was a cache somewhere...

Suggestions??

1 answer

1 accepted

3 votes
Accepted answer

Does it happen for new builds or just old builds that you rerun?

It happens when I try to run deploymet projects on old build results yes. If i create a new build results it will use the new variable-data. Didn't expect that behavior. All is well now.

It happens when I try to run deploymet projects on old build results yes. If i create a new build results it will use the new variable-data. Didn't expect that behavior. All is well now.

Yeah, Bamboo snapshots the variable state so that you get consistent build reruns

is there is a way to force using current global variables instead of variables from snapshot? We are using global variables for storing servers list for deployment, now if we deploy some older build it is deployed only to part of servers.

No, no way. But you can run a custom build against the same revision. It will get the current variables.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

667 views 6 6
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you