From the course: Learning Jenkins: Automating Software Development and System Administration

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Browse a job's workspace

Browse a job's workspace

- [Instructor] Each job is given a dedicated directory on the Jenkins server, called a workspace. This is where the job stores any files that are generated during the build. Let's take a look at the workspace for the Hello-Maven job from the previous lesson. This job was configured to pull code from GitHub, so right away you can see the files and directories that got checked out at the beginning of the build. Selecting a directory opens that directory and may reveal additional files and directories. If you select a file, Jenkins will try to download it. Depending on how your browser is configured, your browser may also open the file to reveal its contents. Because each build uses the same workspace, sometimes its useful to clean things up a bit before the next run. Under workspace is a menu item labeled Wipe Out Current Workspace. Selecting this link and then selecting Yes will remove all files from the workspace. And if we try to view the workspace now, we get an error. There's no…

Contents