LoginSignup
2
2

More than 5 years have passed since last update.

jenkinsのURLを変えてUserのiconが表示されなくなった時の対処法

Posted at

現象

jebkinsにアクセスするためのポート番号を変更するなど、URLを変えた場合に、/user/username ページのアイコンが壊れて表示されない。

原因

設定ファイルの一部に古いURLがそのまま残っている箇所が一箇所あった。例えばポート番号を8080から何かに変えた場合、下記の様に打ってみると、

cd /var/lib/jenkins
grep 8080 *.xml

hudson.tasks.Mailer.xml: http://hoge.com:8080/

のように、hudson.tasks.Mailer.xmlに古いURLが残ったままであることがわかる。

対処法

  • hudson.tasks.Mailer.xmlの該当箇所を正しいURLに修正する。
  • service jenkins restart

以上でユーザーページのアイコンが表示される。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2