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..,