'How to change "default" Jenkins build status label on GitHub?
What do I have:
- Jenkins job (Freestyle Project). Job trigger is
GitHub Pull Request Builder
- GitHub repository
- Webhook to trigger the Jenkins job
What do I want: change "default" label from the screenshot below to something more specific, lets say, "Codestyle"
, so the text will be "Codestyle - Build finished."
What have I tried: adding GitHub commit status It resulted in two build statuses:
Solution 1:[1]
Found a workaround (reference):
Result:
To keep build statuses, I removed --none--
from "Commit Status Build Triggered" and "Commit Status Build Started" fields.
Solution 2:[2]
Build triggers ==> Trigger Setup ==> Commit Status Context ==> Here specify the name and it will appear on the github.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Tarasovych |
Solution 2 | Gitesh kumar Jha |