Forums

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

how to access variables bitbucket-pipeline.yml file while triggering pipeline through Rest API

Mukundhan R
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!
December 9, 2022

how to access variables in bitbucket-pipeline.yml file while triggering pipeline through Rest API with variables.

Actually, the variable is commitid and needs to reset the head commit to that commit in steps but I am facing difficulty in getting the variable.., 

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
December 12, 2022

It is accessible with the "$VARIABLE_NAME" syntax.

See: https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events