Webhook could not trigger pullrequest to build.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor
    • 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.
      
      }

      Ā 

            Assignee:
            Unassigned
            Reporter:
            Alex Lei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: