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

bitbucket-hook not trigerring build job

XMLWordPrintable

      Had configured the Bitbucket with Jenkins , When there is pull request merged jenkins build job needs to trigger. But Jenkins not triggering the build job.

      In bit bucket added webhook url my domain/bitbucket-hook/

      Jenkins

      installed Bitbucket, push and pull request plugin

      Build Triggers - Enabled Bitbucket webhook trigger (pull request), Build with BitBucket Push and Pull Request Plugin, Poll SCM

      Enabled the below logs

      • com.cloudbees.jenkins.plugins.BitbucketHookReceiver
      • com.cloudbees.jenkins.plugins.BitBucketTrigger
      • com.cloudbees.jenkins.plugins.BitbucketJobProbe
      • com.cloudbees.jenkins.plugins.BitbucketPayloadProcessor
      • com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource
      • }}When i merge the pull request{{in bitbucket i am seeing the Webhooks request details with status 200 with body as empty.
      • {{}}
      • in jenkins logs i am receiving the request from webhook}}Received commit hook notification :{{.... JOSN with commit messages, But build is not triggered.

        1. image-2021-12-16-13-08-23-176.png
          10 kB
          Dhayalan Ganapathy
        2. image-2021-12-16-13-33-52-026.png
          20 kB
          Dhayalan Ganapathy
        3. image-2021-12-24-06-27-28-681.png
          16 kB
          Dhayalan Ganapathy
        4. jenkins_buildtrigger.png
          15 kB
          Dhayalan Ganapathy
        5. webhook_request.png
          20 kB
          Dhayalan Ganapathy

            cdelmonte Christian Del Monte
            mgdhayal Dhayalan Ganapathy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: