-
Improvement
-
Resolution: Cannot Reproduce
-
Minor
-
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.
- is related to
-
JENKINS-26540 notifyCommit pushes with a sha1 trigger builds where scm polling is not enabled
-
- Open
-
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.