qq70191 发表于 2018-9-3 12:52:55

jenkins 基础配置安装(Ⅰ)

# vim/etc/sysconfig/jenkins//jenkins的配置文件  
# cd /var/lib/jenkins/ //jenkins的程序主目录
  
# ls
  
config.xml                      jenkins.install.InstallUtil.lastExecVersionnodes                     updates
  
hudson.model.UpdateCenter.xml   jenkins.install.UpgradeWizard.state          plugins                   userContent
  
hudson.plugins.git.GitTool.xmljobs                                       secret.key                users
  
identity.key.enc                logs                                       secret.key.not-so-secretworkflow-libs
  
jenkins.CLI.xml               nodeMonitors.xml                           secrets
  
# ls jobs/ //jobs目录存放的是在浏览器中创建的任务
  
# ls logs //logs存放的是日志
  
tasks
  
# ls nodes //多节点用到的一个目录
  
# ls plugins/ //存放的是插件
  
# cd secrets //密码/密钥所存在的目录
  
jenkins不需要借助于数据库,它的配置都在xml的文件中。


页: [1]
查看完整版本: jenkins 基础配置安装(Ⅰ)