Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47636

Webhook could not trigger pullrequest to build.

XMLWordPrintable

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

       

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

              Created:
              Updated:
              Resolved: