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

Mukundhan R 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