Jenkins can run jobs on a schedule and uses a syntax similar to cron to define when a job should be run. Learn how to configure a schedule for jobs and also learn shortcuts for jobs that run at regular intervals like hourly, weekly, or monthly.
- [Instructor] Running jobs on a schedule…helps with automating things, like updating software,…checking system details, or downloading and processing data.…If you're familiar with system administration,…the thought of using a Cron job to run a schedule task,…might come to mind in these examples.…Yes, you could use Cron, but using Jenkins…as a framework for your schedule task,…provides many more capabilities and options.…In fact, Jenkins uses a format similar…to Cron for scheduling jobs.…So let's start by taking a look…at using this format in a schedule job.…
I'll start by creating a freestyle job.…And I'll name it daily disk report.…Then I'll add a description that this job reports…the disk space used on the server.…Now, I'll scroll down and check the box…next to build periodically.…Jenkins opens a field for me, to fill in the schedule…for when this job will be run.…As I mentioned, this field follows a format…similar to the one used by Cron.…
Each line of the schedule consists of five fields,…separated by tab, or wide space.…
Author
Released
4/17/2018First, learn how to set up Jenkins on Mac, Windows, Linux, or inside a Docker container, and find out how Jenkins plugins are used to extend its functionality. Next, configure your first job step by step, leading up to the requisite "Hello, World" output, and learn to make your jobs more useful and portable with parameters. Then explore job scheduling, and Jenkins's convenient aliases for running jobs at regular intervals. The course wraps up with tips for organizing jobs in folders and views and a brief look into pipelines as code-which enable you to execute a series of jobs in stages.
By the end of the training, you should be able to install Jenkins locally or on a virtual machine, create a Jenkins jobs that can be triggered manually or on a schedule, and install and configure plugins to extend the Jenkins framework.
- Installing Jenkins
- Using plugins
- Creating and configuring a job
- Running and monitoring jobs
- Managing artifacts
- Working with parameters
- Scheduling jobs
- Organizing jobs with views and folders
- Defining stages with pipelines
Skill Level Beginner
Duration
Views
Related Courses
-
Java: Build Automation with Maven
with Peggy Fisher1h 24m Intermediate -
DevOps Foundations
with Ernest Mueller2h 47m Beginner -
Learning Selenium
with Meaghan Lewis1h 15m Beginner
-
Introduction
-
Welcome1m 9s
-
Why choose Jenkins?1m 44s
-
Key terminology1m 16s
-
-
1. Install Jenkins
-
System requirements1m 4s
-
Install Jenkins on Windows3m 15s
-
Install Jenkins on Mac2m 44s
-
Install Jenkins on Ubuntu3m 45s
-
The Jenkins user interface1m 56s
-
The suggested plugins1m 20s
-
Update plugins29s
-
Global tool configuration1m 28s
-
-
2. Jobs in Jenkins
-
Create a job1m 53s
-
Your first Jenkins job2m 45s
-
Basic job configuration3m 45s
-
Run and monitor jobs2m 50s
-
Monitor build trends2m 4s
-
-
3. More Detail on Jobs
-
Advanced job configuration2m 23s
-
Browse a job's workspace2m 16s
-
Manage artifacts2m 6s
-
Parameterized jobs1m 20s
-
String parameters1m 56s
-
Choice parameters1m 31s
-
Boolean parameters1m 46s
-
Schedule jobs4m 10s
-
-
4. Organize Jobs with View and Folders
-
Views and folders1m 33s
-
Create a view3m 18s
-
Create a folder3m 6s
-
Delete views and folders1m 20s
-
-
Conclusion
-
Next steps44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Schedule jobs