16
votes

For our project we use GitHub. We have TravicCI enabled (as this was required for our project to use). Besides that, we've also got a full instance of Jenkins running with the pull request builder.

Now this all works fine, and in the overview of a pull request this looks like this: Overview pull request

Now as you can see travis is displayed nicely with a name. The Jenkins setup is however shown as 'default'. I'd like to change this to something else, however I can not find anything anywhere (github, jenkins, plugin settings) on how/where to change this. How do I change this?

3

3 Answers

25
votes

You can change this in the job.

Your Job > Configure > Build Triggers > Trigger Setup > Commit Status Context

Enter something in this field to override "default".

4
votes

In the GHPRB ver 1.33.0, the option for changing the name of the check for GitHub PR is within the job configuration: Your Job > Configure > Build Environment > Set GitHub commit status with custom context and message (Must configure upstream job using GHPRB trigger) > Commit Status Context

0
votes

I might be late to this answer, but my suggestion is to create another user as a 'bot' account to connect with GitHub from your Jenkins server instead of using your main admin account. This adds another security layer to the connection. I wrote a bit about it here