Jenkins Workspace
Updated May 13, 2020 ·
Jenkins Directory
When Jenkins runs a job that involves working with files or repositories, it stores them within a designated workspace directory on the Jenkins server. This workspace is unique to each job and located within the Jenkins home directory, following a structure like:
<JENKINS_HOME>/workspace/<job_name>/
In this path:
<JENKINS_HOME>
- the main Jenkins home directoryworkspace
- the subdirectory containing workspaces for all jobs<job_name>
- the specific job's name
In the Jenkins server (where Jenkins is installed), you can check this directory:
/var/lib/jenkins
Workspace
The specific workspaces can be found here:
/var/lib/jenkins/workspace
Jobs
The jobs are stored in this directory:
/var/lib/jenkins/jobs