-
Suggestion
-
Resolution: Unresolved
-
2
-
Issue Summary
A manually triggered Pipeline on a Pull request won't have variables related to Pull Requests (such as the PR destination BITBUCKET_PR_DESTINATION_BRANCH), as these are only populated when the pipeline is triggered automatically off of a branch update.
Steps to Reproduce
- Manually trigger a Pipeline on a Pull request and have an echo $BITBUCKET_PR_DESTINATION_BRANCH command in the build
- Observe the value of BITBUCKET_PR_DESTINATION_BRANCH variable printed in the build
Expected Results
BITBUCKET_PR_DESTINATION_BRANCH variable should print the Pull request destination branch name
Actual Results
BITBUCKET_PR_DESTINATION_BRANCH variable should print the Pull request destination branch name
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available