BitBucket Jenkins doesn't automatically build

后端 未结 14 1048
予麋鹿
予麋鹿 2020-12-30 21:44

On my Jenkins I configured:

Source Code Management

Git repository: https://bitbucket.org/username/project.git

credentials: username/

14条回答
  •  甜味超标
    2020-12-30 22:13

    You don't need to enable Polling SCM..

    You have to ensure that your Webhook (Settings->Webhooks) is pointing to your Jenkins bitbucket-hook like the following: "https://ci.yourorg.com/bitbucket-hook/".

    Notice that last "/", without it, the build will not be triggered.

    It's an annoying thing, as you will get a 200 status code from Jenkins when sending requests, with or without it.

提交回复
热议问题