Jenkins CRON

Hey folks, today in this blog, I am going to share about Jenkin’s CRON expression.

It has 5 components

minute hour day month day

  • ‘*’ represents any value
  • ‘,’ value list separator

https://crontab.guru/ is one of awesome site that you can depend on to frame the CRON expression and we also have ready made examples for our needs

Triggers the Job every half an hour
Triggers the job every minute

From Jenkins Perspective if you wondering how to configure , below are the steps

  1. Go to your Job
  2. Click on configure

3. Navigate to Build Triggers section as given below

4. Provide the expression by checking the ‘Build Periodically’ checkbox

5. Once you are done framing the CRON expression, click on Apply & Save

Yahoooo!!! You are Done :)

--

--