• Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • bitbucket-plugin
    • None

      While testing the bitbucket Jenkins plugin with a locally hosted instance of BitBucket (aka: Stash) I discovered that web hooks from BitBucket server to Jenkins only work when the Jenkins jobs have polling enabled for the Git repository. Having only the BitBucket web hook trigger enabled does not appear to be sufficient.

      As a temporary hack I've simply enabled SCM polling triggers in my test jobs and intentionally left the polling interval empty, which essentially disables the SCM polling mechanism. Not only is this annoying, but it is very non-intuitive because it isn't obvious based on the logs and error messages that this is the root cause of the web hook triggering problem.

          [JENKINS-34694] BitBucket plugin requires Git polling enabled

          I came across this seemingly related defect in the issue tracker, however the reporter appears to be reporting the opposite behavior from what I'm seeing here. Not sure how that is possible.

          That issue is reportedly caused by SHA1 hashes being excluded in certain situations. It does appear that the Bitbucket server edition does support disabling SHA1 hashes in their web hooks, however I have confirmed that our server has them enabled so I'm not convinced this is causing our problems.

          Kevin Phillips added a comment - I came across this seemingly related defect in the issue tracker, however the reporter appears to be reporting the opposite behavior from what I'm seeing here. Not sure how that is possible. That issue is reportedly caused by SHA1 hashes being excluded in certain situations. It does appear that the Bitbucket server edition does support disabling SHA1 hashes in their web hooks, however I have confirmed that our server has them enabled so I'm not convinced this is causing our problems.

          Tzach Solomon added a comment -

          leedega does this still reproduces?

          Tzach Solomon added a comment - leedega does this still reproduces?

            Unassigned Unassigned
            leedega Kevin Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: