06.07
- 6.7 Configure and run scheduled jobs
- Learning Objectives
- EXERCISE: View a scheduled job Jenkins configuration
6.7 Configure and run scheduled jobs
Learning Objectives
By the end of this lesson you will be able to:
- Configure a scheduled job in Jenkins.
EXERCISE: View a scheduled job Jenkins configuration
- From the Jenkins dashboard, select the New Job link.
- Enter Transient in the Job name field. Click on the Build a free-style software project radio button and click the OK button.
- Click on the Build periodically checkbox in the Build Triggers section. Schedule this job to run daily. Other pre-set schedules include yearly (midnight on January 1st every year); annually (same as yearly); monthly (Midnight, 1st day of the month); weekly (Midnight, Sunday); daily (Every day, midnight); midnight (Everyday, midnight); hourly (Every hour of every day). You can use cron as well.