Run a Jenkins job every one minute using H/1 * * * *

71.9k Views Asked by At

How can I run a job created in Jenkins every one minute ? Am I missing anything?

PS: I'm trying not to use: */1 * * * *

enter image description here enter image description here

4

There are 4 best solutions below

5
vins On BEST ANSWER

Try * * * * * to run every minute.

Unfortunately H/1 * * * * does not work due to open defect.

Defect: https://issues.jenkins-ci.org/browse/JENKINS-22129

0
thiagowfx On

Your intuition is right, H/1 is supposed to behave like "run every minute".

However, there is a well-known bug in Jenkins. See JENKINS-22129.

Currently, H/1 behaves like "run every hour".

0
Gunjan Paul On

To run the build process every minute, check the Build periodically option and add * * * * *

2
pravi On

Use this format it will Run a Jenkins job every one minute "* * * * *"