How to connect Bitbucket to Jenkins properly

后端 未结 6 1392
说谎
说谎 2021-01-30 10:41

Since about 1 week now, Bitbucket doesn\'t (?) send a request to my Jenkins server.

I\'ve set it all up like this:

Endpoint http://username:

6条回答
  •  心在旅途
    2021-01-30 11:12

    In order to build your repo after new commits, use Bitbucket Plugin.

    There is just one thing to notice: When creating a POST Hook (notice that it is POST hook, not Jenkins hook), the URL works when it has a "/" in the end. Like:

    URL: JENKINS_URL/bitbucket-hook/
    e.g. someAddress:8080/bitbucket-hook/
    

    Do not forget to check "Build when a change is pushed to Bitbucket" in your job configuration.

提交回复
热议问题