欢迎喜欢linux技术的朋友共同交流
分类: 系统运维
2018-12-05 18:00:13
官方文档:
1、在war目录查看日志:jenkins.log,有INFO: Started @1529ms字样说明服务启动成功
日志输出内容截取
Jenkins home directory: /home/homework/.jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
Oct 10, 2018 9:58:47 AM org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.@66ea810{Jenkins v2.138.1,/,file:///mnt/homework/.jenkins/war/,AVAILABLE}{/home/homework/.jenkins/war}
Oct 10, 2018 9:58:47 AM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector@2f67a4d3{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
Oct 10, 2018 9:58:47 AM org.eclipse.jetty.server.Server doStart
INFO: Started @1529ms
Oct 10, 2018 9:58:47 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
Oct 10, 2018 9:58:49 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Oct 10, 2018 9:58:49 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Oct 10, 2018 9:58:49 AM jenkins.InitReactorRunner$1 onTaskFailed
2、浏览器打开站点
1 部署基础环境:jdk
2 配置环境变量:/etc/profile