码迷,mamicode.com
首页 > 其他好文 > 详细

Jenkins的下载与启动,插件安装,基础配置,

时间:2019-03-16 18:02:32      阅读:297      评论:0      收藏:0      [点我收藏+]

标签:虚拟   processor   odi   visit   set   ror   using   disable   play   

Jenkins网站下载Generic java package

技术图片

 

启动Jenkins  命令:java -jar jenkins.war

 

[root@localhost Jenkins]# java -jar jenkins.war
Running from: /home/gzp_tool/Jenkins/jenkins.war
webroot: $user.home/.jenkins
Mar 16, 2019 2:40:19 AM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @399ms to org.eclipse.jetty.util.log.JavaUtilLog
Mar 16, 2019 2:40:19 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
Mar 16, 2019 2:40:21 AM org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
Mar 16, 2019 2:40:21 AM org.eclipse.jetty.server.Server doStart
INFO: jetty-9.4.z-SNAPSHOT; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_201-b09
Mar 16, 2019 2:40:21 AM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Mar 16, 2019 2:40:21 AM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: DefaultSessionIdManager workerName=node0
Mar 16, 2019 2:40:21 AM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: No SessionScavenger set, using defaults
Mar 16, 2019 2:40:21 AM org.eclipse.jetty.server.session.HouseKeeper startScavenging
INFO: node0 Scavenging every 600000ms
Jenkins home directory: /root/.jenkins found at: $user.home/.jenkins
Mar 16, 2019 2:40:22 AM org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.@69561c{Jenkins v2.168,/,file:///root/.jenkins/war/,AVAILABLE}{/root/.jenkins/war}
Mar 16, 2019 2:40:22 AM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector@fdf5c6{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
Mar 16, 2019 2:40:22 AM org.eclipse.jetty.server.Server doStart
INFO: Started @4057ms
Mar 16, 2019 2:40:22 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
Mar 16, 2019 2:40:24 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Mar 16, 2019 2:40:27 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Mar 16, 2019 2:40:33 AM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Mar 16, 2019 2:40:33 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Mar 16, 2019 2:40:36 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping
Mar 16, 2019 2:40:36 AM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Mar 16, 2019 2:40:36 AM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Mar 16, 2019 2:40:36 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Mar 16, 2019 2:40:36 AM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 21 ms
Mar 16, 2019 2:40:37 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@1b12f3f: display name [Root WebApplicationContext]; startup date [Sat Mar 16 02:40:37 PDT 2019]; root of context hierarchy
Mar 16, 2019 2:40:37 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@1b12f3f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@83b00e
Mar 16, 2019 2:40:37 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@83b00e: defining beans [authenticationManager]; root of factory hierarchy
Mar 16, 2019 2:40:37 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@1dff569: display name [Root WebApplicationContext]; startup date [Sat Mar 16 02:40:37 PDT 2019]; root of context hierarchy
Mar 16, 2019 2:40:37 AM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@1dff569]: org.springframework.beans.factory.support.DefaultListableBeanFactory@19cfd47
Mar 16, 2019 2:40:37 AM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19cfd47: defining beans [filter,legacy]; root of factory hierarchy
Mar 16, 2019 2:40:37 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Mar 16, 2019 2:40:37 AM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running

 

启动后在浏览器窗口输入localhost 8080,进行插件等安装,我这里的localhost 是虚拟机的IP

账号:admin

密码:password

系统管理-可选插件-search rebuilder; search ‘safe restart‘ 安装两个插件

rebuilder:用于重新构建,每次构建都会输入很多参数

search ‘safe restart‘ :安全重启jenkins

 

基础配置(安全矩阵设置管理权限)

  1. 配置全局安全属性:系统管理-全局安全配置-安全矩阵-添加用户赋予权限

  2. 添加用户:系统管理-管理用户-新增用户,再赋予用户对应权限

 

Jenkins的下载与启动,插件安装,基础配置,

标签:虚拟   processor   odi   visit   set   ror   using   disable   play   

原文地址:https://www.cnblogs.com/daokeren/p/10543362.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!