Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Repository variable not update after change

okkarko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2025

I updated repository variable values. But it's not updated when pipe is run still getting old variable value in my pipe line. 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 26, 2025

Hi @okkarko 

If you have updated the variable in your settings, this should not be happening.

Can you print the value of the variable using the echo command (if unsecured) in a new build or pass it through as an artifact to verify this behaviour?

pipelines: 

  default:

      - step:

          name: Export Secret Variable

          script:

            - echo "$MY_SECURED_VARIABLE" > secret.txt

          artifacts:

            - secret.txt

Cheers!

- Ben (Bitbucket Cloud Support)

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events