Balaji Vajjala's Blog

A DevOps Blog from Trenches

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

  1. From the Jenkins dashboard, select the New Job link.
  2. Enter Transient in the Job name field. Click on the Build a free-style software project radio button and click the OK button.
  3. 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.