Faults
There is an error occurred during initialization of the jenkins:1
2
3
4
5Offline
This Jenkins instance appears to be offline.
For information about installing Jenkins without an internet connection, see the Offline Jenkins Installation Documentation.
You may choose to continue by configuring a proxy or skipping plugin installation.
Solution
In my case, it has something to do with SSL. I manage to fix it by editing /Users/Shared/Jenkins//Home/hudson.model.UpdateCenter.xml
and change url to use “http” instead of “https”.1
2
3
4
5
6
7<?xml version='1.1' encoding='UTF-8'?>
<sites>
<site>
<id>default</id>
<url>http://updates.jenkins.io/update-center.json</url>
</site>
</sites>
you can also use the available url:https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/stable-2.7/update-center.json
Restart jenkins and reload the website, it no longer shows offline.