Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 comment

Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2022

It is accessible with the "$VARIABLE_NAME" syntax.

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

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events