-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor
-
Component/s: bitbucket-branch-source-plugin
-
None
-
Environment:bitbuket 5.4 test instance ,Post Webhooks for Bitbucket by Eernie 1.5.2
jenkins 2.73.2 ,Bitbucket Branch Source Plugin 2.2.4
Fix JENKINS-45775 cause jenkins could not proccess pr event trigged by webhook.
use aĀ Ā private test Bitbucket server ,Ā create demo team demo project.
In jenkins side create demo job useĀ "Bitbucket team project" all repo branch scanned correct.
other people's pull request create to demo project can not trigger job build at all (webhook config can trigger successful).
When I debug the pluginĀ i found then problem happensĀ BitbucketSCMSource.java #640
Ā
if (originBitbucket instanceof BitbucketCloudApiClient) { }else{ // the PullRequestSCMHead created here can not match request.include //because the fourth param source branch name not match. }
Ā
- is duplicated by
-
JENKINS-47635 Webhook could not trigger pullrequest to build.
-
- Closed
-