0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Jenkins初回起動時のオフライン状態を解決する

Last updated at Posted at 2020-04-26

homebrewでJenkinsをインストールし初回起動時にセキュリティのためにパスワード認証を行います.
そのあとにプラグインのインストールなどのセットアップを行いますが,以下のようにオフラインになってしまいました.

jenkins_offline.png

解決策

~/.jenkins/hudson.model.UpdateCenter.xml内のurlをhttpsからhttpへと変更する


<?xml version='1.1' encoding='UTF-8'?>
<sites>
  <site>
    <id>default</id>
    <url>https://updates.jenkins.io/update-center.json</url>
  </site>
</sites>

変更後再起動することでオフライン状態が解決

brew services restart jenkins

もし再起動後にアクセスしても404 NotFoundとなる場合はキャッシュを削除すれば解消される

参照

0
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
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?