A standard part of “CI”, I thought, would be auto-building from Pull Requests.
However, to my surprise, I have found no current documentation how to actually set that up from github PR.
I know that there is a 3-years-old “Github Pull Request” plugin, but that is now marked as unsecure.
I know that there is a new “Github Integrations” plugin (and is allegedly more secure), and it seems to be able to do the job… But there is no documentation I can find of how to “properly” set it up.
Does it exist?
In the forum suggestions, I did notice a 1 year old reference to
However, that is an INCREDIBLY long document, that rambles over multiple strategies, so is difficult to follow.
I infer that I should probably be using the Github Checks plugin.
However, the documentation for that seems out of date.
claims, “You can customize it by configuring the “Status Checks Properties” behavior for your GitHub SCM Source or Git SCM projects”
However, after installing the plugin and restarting Jenkins, there is no “status checks” area, either in the system global area, or in the org level folder that auto-recognizes all our repos currently.
Also, it is unclear to me how it would actually WORK.
The docs for “github check” does not say I need to set up webhooks on the github side.
Sooo… how does the call from github to jenkins, on a PR creation, happen?