Is there a way to show the Jenkins build status on my project\'s GitHub Readme.md?
I use Jenkins to run continuous integration builds. After each commit it ensures
In the meanwhile the UI of Jenkins and GitHub has changed a bit and it took me a while to figure out how to configure Jenkins now correctly. The explanation here is based on Jenkins version 2.121.1.
I also assume that you have already configured your Jenkins Job be triggered by a webhook or by polling. Those are the steps that I have taken to get it working:
repo:statusConfigure System and add the OAuth Secret as a GitHub Server - use Secret Text as an authentication method to put the OAuth Secret in there.Set GitHub commit status as Post-build action. Set the Status Result to One of the default messages and statuses.You will now see the status for your commits and branches: