1

「Jenkins」- 概念、术语

 2 years ago
source link: https://blog.k4nz.com/047708eecd44518ab2a2afbf7a0c7177/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

「Jenkins」- 概念、术语

 2022-03-13   CREATED BY JENKINSBOT

常见数据保存目录

Where does Jenkins store configuration files for the jobs it runs? – Stack Overflow

JENKINS_HOME
 +- config.xml     (jenkins root configuration)
 +- *.xml          (other site-wide configuration files)
 +- userContent    (files in this directory will be served under your http://server/userContent/)
 +- fingerprints   (stores fingerprint records)
 +- nodes          (slave configurations)
 +- plugins        (stores plugins)
 +- secrets        (secretes needed when migrating credentials to other servers)
 +- workspace (working directory for the version control system)
     +- [JOBNAME] (sub directory for each job)
 +- jobs
     +- [JOBNAME]      (sub directory for each job)
         +- config.xml     (job configuration file)
         +- latest         (symbolic link to the last successful build)
         +- builds
             +- [BUILD_ID]     (for each build)
                 +- build.xml      (build result summary)
                 +- log            (log file)
                 +- changelog.xml  (change log)

Jenkins 服务配置:
1){JENKINS_HOME}/config.xml
2){JENKINS_HOME}/config-history/ ⇒ 每次修改都备份在该目录中,可从中恢复;

全部 Job 配置信息:{JENKINS_HOME}/jobs/
2)配置:{JENKINS_HOME}/jobs/{JOBNAME}/config.xml
3)构建:{JENKINS_HOME}/jobs/{JOBNAME}/builds/

特定 Job 运行数据:{JENKINS_HOME}/workspace/{JOBNAME}


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK