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..,
It is accessible with the "$VARIABLE_NAME" syntax.
See: https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.