How to set up a github pull request build in a Jenkinsfile?
问题 So, I've been using Jenkins for quite a while. I have set up numerous projects with the Github Pull Request Builder plugin to run tests whenever someone opens a pull request, and then trigger some other job (build, push, deploy, etc) whenever the pull request actually gets merged to master. So, is there any way to set this up with a Jenkinsfile, or the organization folders, or the multibranch build deal? 回答1: The github-organization-folder plugin in combination with the multi-branch plugin