What exactly allows Bitbucket Webhook to trigger build without providing any authentication in the URL? Is there any authentication process happening behind the scenes?
This atlassian plugin send a request to the `/git/notifyCommit` endpoint. As explained in the documentation of the Git plugin, this endpoint does not require authentication.
In order to troubleshoot this, you can add a Logger to the package `hudson.plugins.git.GitStatus` and check if the notification is received:
> Jan 30, 2017 6:06:36 PMFINEhudson.plugins.git.GitStatus$JenkinsAbstractProjectListener onNotifyCommit Received notification for uri = https://my.bitbucket.examle.com/scm/myproject/myrepo.git ; sha1 = c2dca5be8beffb8843556e876a35e746b03348db ; branches = [master]
If you encounter any issue, feel free to open a ticket to CloudBees Support.
Comments
3 comments
What exactly allows Bitbucket Webhook to trigger build without providing any authentication in the URL? Is there any authentication process happening behind the scenes?
When I hit the test button I get : Error: Connection reset,
What is is the authentication set up needed?
This atlassian plugin send a request to the `/git/notifyCommit` endpoint. As explained in the documentation of the Git plugin, this endpoint does not require authentication.
In order to troubleshoot this, you can add a Logger to the package `hudson.plugins.git.GitStatus` and check if the notification is received:
If you encounter any issue, feel free to open a ticket to CloudBees Support.
Please sign in to leave a comment.