Interview Prep/Jenkins/Multibranch, organization folders & webhooks

How does Jenkins report build status back to GitHub?

IntermediateConceptMultibranch, organization folders & webhooks
Answer

GitHub Branch Source automatically sets a commit status (or a Checks run with the GitHub App and the GitHub Checks plugin) named continuous-integration/jenkins/branch or .../pr-merge, updated when the build starts and finishes. Branch protection then requires that check. You can add custom statuses with githubNotify or publish per-stage checks with publishChecks. Statuses fail silently if the credential lacks repo:status permission or the App lacks "Commit statuses: write".

All Jenkins questions Roadmap: Jenkins

More on Multibranch, organization folders & webhooks