Skip to main content

How to Trigger Non-Multibranch Jobs from Bitbucket Server?

Comments

3 comments

  • Irmantas Marozas

    What exactly allows Bitbucket Webhook to trigger build without providing any authentication in the URL? Is there any authentication process happening behind the scenes?

    4
  • Philip O'gorman

    When I hit the test button I get : Error: Connection reset,

    What is is the authentication set up needed?

    0
  • Allan Burdajewicz

    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 PM FINE hudson.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.

    1

Please sign in to leave a comment.

About CloudBees Support

Our Support Engineers are available to help with any questions or problems you may have with any of our products.