Jenkins + Github Pull Request构建器的显示名称 [英] Jenkins + Github Pull Request builder display name
问题描述
对于我们的项目,我们使用GitHub.我们启用了TravicCI(这是我们的项目使用所必需的).除此之外,我们还有一个完整的Jenkins实例与pull request构建器一起运行.
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:
现在您可以看到travis很好地显示了一个名称.但是,Jenkins设置显示为默认".我想将其更改为其他内容,但是在如何/在何处更改此内容,我找不到任何地方(github,jenkins,插件设置).我该如何更改?
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?
推荐答案
您可以在作业中进行更改.
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".
这篇关于Jenkins + Github Pull Request构建器的显示名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!