How to schedule jobs in Jenkins

0 votes

Hi Team,

I am new to Jenkins. I want to schedule one Job in Jenkins. How can I do that?

Oct 22, 2020 in Jenkins by akhtar
• 38,230 points
153 views

1 answer to this question.

0 votes

Hi@akhtar,

If you want to schedule your Jenkins Job periodically, then you need to Configure your job in the "Build Periodically" checkbox, and in the Schedule, text field add your requirement. You can see the syntax below.

Jenkins used corn expression, and the different fields are:

  1. MINUTES Minutes in one hour (0-59)

  2. HOURS Hours in one day (0-23)

  3. DAY MONTH Day in a month (1-31)

  4. MONTH Month in a year (1-12)

  5. DAY WEEK Day of the week (0-7) where 0 and 7 are Sunday.

If you want to schedule your build every 5 minutes, this will do the job: */5 * * * *

answered Oct 22, 2020 by MD
• 95,360 points

Related Questions In Jenkins

0 votes
1 answer

What are parameterized jobs in jenkins and how to configure it?

Hey @Hannah, Parameterized jobs/builds are the ones ...READ MORE

answered Dec 16, 2018 in Jenkins by Kiyara
4,066 views
0 votes
2 answers
+2 votes
4 answers
0 votes
1 answer

How to construct Maven installation in Jenkins for each Slave node?

I’m assuming that Java and Maven are ...READ MORE

answered Aug 2, 2018 in Jenkins by Sophie may
• 10,590 points
3,573 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,778 views
+2 votes
1 answer
+5 votes
3 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 10,590 points
85,186 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 59,170 points
50,231 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP