jenkins无法使用bitbucket自动生成构建

时间:2014-06-11 11:50:16

标签: jenkins

我在这里使用jenkins并安装了bitbucket'插件和' bitbucket拉请求构建器'插件。

In my system i use git-gui client,i clone the bitbucket,all the commit and push operations happened successfully.

In jenkins i give the bitbucket central repository url in source code management in git repositories,i try the build now it is working but,the problem is whenever i push the data from my local client to bitbucket it doesn't generate the build automatically, i give the details in 'bitbucket pull request handler' also but it doesn't generate automatically

can any one please help to me.

1 个答案:

答案 0 :(得分:0)

您是否为活动设置了CRON作业?

要自动启动构建,您应该将作业链接到启动作业的bitbucket存储库 AND 设置规则。

我个人确实喜欢CRON任务,只要你的git repo上有可用的更新就会检查。 像这样的命令将每5分钟解决一次:

*/5 * * * *

有关CRON职位的详细信息,请参阅该链接http://en.wikipedia.org/wiki/Cron

这是我的一个骗局的截图...抱歉,这是法语 enter image description here