GitHub Branch Source Plugin & Github pull requests statusAnswered
I'm using the plugin to set the status of my github PRs.
A failed build sets the github status of that PR to Failure (red x icon) and a successful build sets the status to Success (green check icon)
Problem is with the unstable builds from Jenkins which set the status to Success on github.
I'm using version 2.176.2 and its current setup has 3 states: failed (red ball), unstable (yellow ball) and success (green ball)
Is it possible to change this behaviour and the unstable builds to set the github status to Failure?
I was checking the code and it seems like the code is intending to set the GitHub status to `FAILURE` when the build is unstable:
Which version of the github-branch-source-plugin do you have installed, and is the GitHub repo you are using a public repo?0
thank you for your quick reply.
We are using Jenkins 2.176.2 and github-branch-source-plugin 2.4.2
The repo is not public, it is a private organisation repo (enterprise github)0
Your version also seems to map the UNSTABLE to the FAILURE status.
I tried to quickly reproduce on 2.5.5 and couldn't. Both FAILURE and UNSTABLE results in the red cross on Github PR.0
Please sign in to leave a comment.