触发一个Jenkins构建在GitHub合并事件上 [英] Triggering a Jenkins build on GitHub merge event

查看:577
本文介绍了触发一个Jenkins构建在GitHub合并事件上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Github Plugin并将Poll SCM设置为1分钟。
下面是我的配置图。

I installed Github Plugin and set the Poll SCM to 1 minute. Below is a picture of my configuration.

因此,当我在我的回购库上提交时,一分钟后开始构建。

So when I commit on my repo, a minute after that the build starts.

在我的github回购协议中,我创建了一个webhook(但它超时)也没有工作(我认为问题是在我的詹金斯服务器上)。

On my github repo I created a webhook (but it timesout) and a service which doesnt work either (I think the problem is on my jenkins server).

但缺少当更改推送到GitHub时生成复选框。

But the checkbox "Build when a change is pushed to GitHub" is missing.

推荐答案

关于 v1.25.1版本,触发当更改推送到GitHub时生成Build 已重命名为 GitHub钩子触发GITScm轮询

On the v1.25.1 release of the GitHub plugin, trigger Build when a change is pushed to GitHub has been renamed to GitHub hook trigger for GITScm polling.

这篇关于触发一个Jenkins构建在GitHub合并事件上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆