GitHub Branch Source Plugin --> only scan for Pull Requests

[亡魂溺海] 提交于 2019-12-21 05:24:06

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/47438523/github-branch-source-plugin-only-scan-for-pull-requests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!