本文介绍了自定义詹金斯(Jenkins)的外观,使其更容易区分实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我负责四种不同的Jenkins安装-两台测试服务器和两台生产服务器.

I am responsible for four different Jenkins installations - two test and two production servers.

在Jenkins中我可以使用哪些选项来使我更清楚地知道连接到哪台计算机?

What options do I have from within Jenkins to make it more obvious which machine I am connected to?

我想做的是能够将屏幕顶部的Jenkins文本更改为"Jenkins Department 1 Test"-这可能吗?还有其他选项,例如更改颜色等吗?

What I would like to do is be able to change the Jenkins text at the top of the screen to 'Jenkins Department 1 Test' - is this possible? Are there other options such as changing colours etc?

推荐答案

我认为最简单的方法是使用简单主题插件.

I think the simplest way to do this is with the Simple Theme Plugin.

您可以制作自己的简单的CSS和/或javascript,指向配置中的文件,然后完成.或者,您可以从互联网使用现有的CSS.

You can make your own simple css and/or javascript, point to the file in the configuration and you're done. Or you can use existing css from the internet.

这篇关于自定义詹金斯(Jenkins)的外观,使其更容易区分实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 15:16