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

Jenkins job does not detect a gitbucket change via webhook.

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • gitbucket-plugin
    • None
    • Linux Jenkins 1.638 w/gitbucket plugin v0.8. Gitbucket 3.8

      Gitbucket and Jenkins servers are separated and not running on the same server.

      Security is enabled on Jenkins via ldap. Any authenticated user can do anything.

      Jenkins job is configured with Build Trigger "Build when a change is pushed to GitBucket".

      Gitbucket webhook is configured with "https://<dns name.com/gitbucket-webhook/
      (when i test this address i get a page telling me (POST is required for org.jenkinsci.plugins.gitbucket.GitBucketWebHook.doIndex)

      There are no entries in the "Gitbucket Hook Log".

      I am updating gitbucket project via git bash client on workstation.

      I can send a POST request via curl to the webhook address so I assume that authorizations isn't stopping me?

          [JENKINS-31806] Jenkins job does not detect a gitbucket change via webhook.

          Tony Owens added a comment -

          I have enabled http on all interfaces and configured webhook url in gitbucket as http://<dns name.com:8080/gitbucket-webhook/ and was successfully able to trigger a job. For security reasons I must use ssl.

          Tony Owens added a comment - I have enabled http on all interfaces and configured webhook url in gitbucket as http://<dns name.com:8080/gitbucket-webhook/ and was successfully able to trigger a job. For security reasons I must use ssl.

          Tony Owens added a comment -

          Closing issue. I am using a self signed cert via nginx in front of Jenkins. I discovered there was a cert path exception withing gitbucket so this is not a jenkins/gitbucket-plugin issue.

          Tony Owens added a comment - Closing issue. I am using a self signed cert via nginx in front of Jenkins. I discovered there was a cert path exception withing gitbucket so this is not a jenkins/gitbucket-plugin issue.

          Tony Owens added a comment -

          Not a plugin issue.

          Tony Owens added a comment - Not a plugin issue.

          Ashish Sharma added a comment -

          Hi, I am facing same issue with GitBucket and jenkins using GitBucket plugin. Webhook and jenkins jobs trigger on gitbucket commit is setup. However nothing ever comes in GitBucket hook log, even post multiple commits in gitbucket it keeps showing polling has not run. Those who got this to work please suggest?

          Ashish Sharma added a comment - Hi, I am facing same issue with GitBucket and jenkins using GitBucket plugin. Webhook and jenkins jobs trigger on gitbucket commit is setup. However nothing ever comes in GitBucket hook log, even post multiple commits in gitbucket it keeps showing polling has not run. Those who got this to work please suggest?

            sogabe sogabe
            to Tony Owens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: