8

How can I change the title in the Jenkins start page: http://jenkinsserver.domain.whatever:9090/

As I see, the title is already in German with some special UTF-8 chars and this one makes trouble using selenium in the background to control Jenkins. I am quite sure the value is set somewhere - but where?

Jenkins runs on a Windows server.

SiHa
  • 7,830
  • 13
  • 34
  • 43

2 Answers2

5

You can just install the Simple Theme Plugin and then in Manage Jenkins > Configure System > Theme, point the URL of theme JS field to a .js file containing at minimum something like:

document.title = "Wathever title you prefer";

Save and reload the page.

It worked for me..

rustyrick
  • 119
  • 1
  • 4
  • 1
    And then in Manage Jenkins > Configure System > Theme point it to the url: http:///userContent/my-style. – ximbal Dec 04 '17 at 13:18
  • 1
    ximbal comment should really go in the answer, because the very next question someone is likely to ask, is "where should i put the script" – Mark Ch Dec 06 '17 at 08:41
  • 1
    For others who just want to customize the title per server, not nuke it and start over, perhaps something like `document.title = " " + document.title;` – Flash Sheridan Sep 13 '18 at 22:24
0

Jenkins is using the browser locale language settings, change that. Please also better specify the question, what do you mean by title? Local domain address? If so, this can be done in settings -> "Jenkins URL".

voy
  • 696
  • 7
  • 14
  • 1
    With title I mean the content in the HTML-TAG title of the main page. In my case (german) it contains Übersicht [Jenkins] This one I want to change. I found some translation beneth help/.. but none of them contains those value. So I am looking for perhaps an config value in one of the xml-files?!? –  Feb 09 '17 at 09:47
  • 1
    Adding some js to the system message in the configure system field used to work, for example: but since 1.459 it doesn't work anymore. – voy Feb 09 '17 at 10:22