2018年7月13日 星期五

This Jenkins instance appears to be offline

1. It has something to do with SSL

Change url to use http instead of https


bash

vi /var/lib/jenkins/hudson.model.UpdateCenter.xml
  1. <?xml version='1.1' encoding='UTF-8'?> <sites> <site> <id>default</id> <url>http://updates.jenkins.io/update-center.json</url> </site> </sites>
    <?xml version='1.1' encoding='UTF-8'?> <sites> <site> <id>default</id> <url>http://updates.jenkins.io/update-center.json</url> </site> </sites>

2. Restart Jenkins service


bash

 service jenkins restart

 Ubuntu has a mechanism, that is, the installed network card (NIC) will be renamed to another name when the system is booted. Although there...