Trigger builds periodically in Jenkins

We can automatically trigger our job builds at a certain schedule by configuring the build periodically option under the Build Triggers section of the Job Configuration.

Configuration: If you want to build your project every fifteen minutes, you can use the following schedule “H/15 * * * *” in the build periodically configuration for your job as shown below:

Schedule field follows the syntax of cron expression. Specifically, each line consists of 5 fields separated by TAB or whitespace:

MINUTE HOUR DAYOFTHEMONTH MONTH DAYOFWEEK

* specifies all valid values

Symbol H(for hashing) is used to produce even load on the system.

Share

Bijan Patel

Founder & Creator of QAScript | 12+ years of IT Experience | Full Stack Automation Engineer | Blogger | Trainer

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!