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.

Run and monitor jobs

Run and monitor jobs

- [Instructor] Let's see how we can monitor jobs in the Jenkins interface. To help with the discussion, I'm starting with a freestyle job named long-running-job. The description gives a little more detail, letting us know that this job runs for 30 seconds, and if I scroll down to the build section, there's one build step with a Bash script. The script counts from one to 30, sleeping for one second between each count. If you're following along on Mac, Linux, or a Docker, you can use this same script. If you're following along with Jenkins on a Windows system, you'll want to use the execute windows batch command build step. There's also a script just for you in the exercise files that will let you do the same 30-second count. In either case, this script will run for about 30 seconds and produce some output so we can follow the job's progress. Let's run this job. I've started the job, and under Builds, there's a slowly spinning blue circle and a number. The Blue circle lets you know that…

Contents