jenkins部署遇到离线问题如何解决

部署jenkins页面时遇到离线问题如何解决

部署jenkins遇到一个问题,然后告诉我你的jenkins已经离线,什么鬼,后来找了很多博客

后来自己终于验证成功了,也分享给大家,只需把https改为http就可以了

在这里不要动,继续打开一个页面并访问http:ip:8080/jenkins/pluginManager/advanced  

url路径https/修改成http

 

 

重启tomcat

[root@jenkins ~]# /usr/local/tomcat/bin/shutdown.sh

Using CATALINA_BASE:   /usr/local/tomcat

Using CATALINA_HOME:   /usr/local/tomcat

Using CATALINA_TMPDIR: /usr/local/tomcat/temp

Using JRE_HOME:        /usr/local/java

Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar

[root@jenkins ~]# /usr/local/tomcat/bin/startup.sh

Using CATALINA_BASE:   /usr/local/tomcat

Using CATALINA_HOME:   /usr/local/tomcat

Using CATALINA_TMPDIR: /usr/local/tomcat/temp

Using JRE_HOME:        /usr/local/java

Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar

Tomcat started.

重启完刷新你的jenkins页面,会成功跳转输入账号密码地方

 

posted @ 2019-05-31 15:17  #赵程#  阅读(594)  评论(0编辑  收藏  举报