问题
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