Jenkins Concepts: Difference between revisions
Line 58: | Line 58: | ||
Everything mentioned above is stored under $JENKINS_HOME. It is sufficient to archive this directory to make a back up of the instance. Similarly, restoring the data is just replacing the contents of the JENKINS_HOME directory from a back up. | Everything mentioned above is stored under $JENKINS_HOME. It is sufficient to archive this directory to make a back up of the instance. Similarly, restoring the data is just replacing the contents of the JENKINS_HOME directory from a back up. | ||
The WAR file is stored under ${JENKINS_HOME}/war. The location can be overridden with --webroot=<''new-location''>. | The WAR file is stored under ${JENKINS_HOME}/war. The location can be overridden with --webroot=<''new-location''>. The WARs are expanded during the startup sequence. | ||
The plugins are stored under ${JENKINS_HOME}/plugins. The location can be overridden with --pluginroot =<''new-location''>. | The plugins are stored under ${JENKINS_HOME}/plugins. The location can be overridden with --pluginroot =<''new-location''>. |
Revision as of 23:46, 20 April 2018
External
Internal
Agent
Slave
Job
Build
Items
Freestyle Project
Pipeline
A Jenkins Pipeline is a suite of plugins that implement a continuous delivery pipeline. When integrated with OpenShift, the Jenkins Pipeline functionality provides the engine for OpenShift Pipeline builds. More details about OpenShift Jenkins pipeline are available here:
More details about the pipeline syntax are available here:
Build Environment
Distributed Build
Plugin
Task Scanner
Server Administration Concepts
Instance State
A Jenkins instance state consists of the following:
- The WAR file
- Plugins.
- Settings
- Build logs
- Artifacts archives
- Jobs
Everything mentioned above is stored under $JENKINS_HOME. It is sufficient to archive this directory to make a back up of the instance. Similarly, restoring the data is just replacing the contents of the JENKINS_HOME directory from a back up.
The WAR file is stored under ${JENKINS_HOME}/war. The location can be overridden with --webroot=<new-location>. The WARs are expanded during the startup sequence.
The plugins are stored under ${JENKINS_HOME}/plugins. The location can be overridden with --pluginroot =<new-location>.