| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This Jenkins plugin allows you to update the GitHub commit status with project-specific credentials (Personal Access Source or GitHub App) and custom messages/URLs.
It provides two main functionalities:
Add the "CodeMC Set GitHub Commit Status to PENDING" build step.
Add the "CodeMC GitHub Commit Status" post-build action.
You can use the following steps in your Jenkins Pipeline:
Set Pending Status:
gitHubCommitPendingBuilder(
credentialId: 'my-github-creds',
context: 'jenkins',
statusMessage: 'Build started...',
repository: 'owner/repo' // Optional, auto-detected if empty
)Set Final Status (Post Build):
gitHubCommitStatusNotifier(
credentialId: 'my-github-creds',
context: 'jenkins',
statusMessage: 'Build finished correctly', // Optional
statusUrl: 'https://custom-url.com', // Optional
repository: 'owner/repo' // Optional
)This plugin is heavily inspired by the official Jenkins GitHub Plugin. We created this custom version to handle specific requirements around credential isolation and custom status updates that were difficult to achieve with the standard plugin.
This project is licensed under the MIT License - see the LICENSE file for details.
| Back | FazBrowse Home | New Git URL |