Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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??

2 answers

1 accepted

4 votes
Answer accepted

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.

3 votes

A suggestion ticket has been created covering this request:

Thank you.

 

best,
Gabriel Ribeiro

Thanks Gabriel.

I've voted for the issue.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

167 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you