-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Jenkins 2.90 on CentOS 7
bitbucket-branch-source-plugin 2.2.7
bitbucket server 5.4.1
git 2.9.5
-
-
2.2.13
CHANGE_BRANCH, mentioned in was working at some point in the recent past. It has now reverted to being equal to BRANCH_NAME which in the case of a pull request is PR-nJENKINS-41104
Expected behaviour, according to , is that when a PR is being built, CHANGE_BRANCH returns the source branch.JENKINS-41104
CHANGE_TARGET is returning correctly (with the target branch), so it does appear the plugin is aware of builds from pull requests.
- relates to
-
JENKINS-45775 Unable to build PR from private fork in BitbucketServer
- Closed