Forums

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

Can we update the bitbucket variable from the bitbucket-pipelines.yml?

muthukumarpl
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!
April 22, 2020

I have a secure variable in the bitbucket repository. There is a life time associated with that token and I have to refresh it by doing a rest call. As we are managing that secured variable in bitbucket, I thought doing the rest call in the bitbucket-pipelines.yml with curl and can update the variable on every deployment.

Is the update of variable allowed in bitbucket via the bitbucket-pipelines.yml file?

I understand this is not a perfect solution, however we need it as a workaround now.

1 answer

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2020

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events