GitHub Branch Source插件->仅扫描拉取请求 [英] GitHub Branch Source Plugin --> only scan for Pull Requests

查看:218
本文介绍了GitHub Branch Source插件->仅扫描拉取请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在Jenkins中使用 GitHub分支源插件 .效果很好.但是,它会扫描分支和请求请求.

We use the GitHub Branch Source Plugin in Jenkins. It works great. However it scans both for branches and pull requests.

我们希望以仅扫描请求请求的方式配置插件.这可能吗?如果没有,我们可以在哪里发布功能请求?

We want to configure the plugin in such way that it only scans for pull requests. Is this possible? If not, where can we post our feature request?

推荐答案

您可以通过签出行为在作业中进行配置.只需删除发现分支项目,它就不会找到任何分支.

You can configure this in the job via the checkout behaviors. Just delete the Discover Branches item and it should not find any branches.

这篇关于GitHub Branch Source插件->仅扫描拉取请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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