Run a Jenkins job every one minute using H/1 * * * *
JenkinsBuildCronJob SchedulingPeriodic ProcessingJenkins Problem Overview
How can I run a job created in Jenkins every one minute ? Am I missing anything?
PS: I'm trying not to use: ***/1 * * * ***
Jenkins Solutions
Solution 1 - Jenkins
Try * * * * *
to run every minute.
Unfortunately H/1 * * * *
does not work due to open defect.
Solution 2 - Jenkins
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".
Solution 3 - Jenkins
Use this format it will Run a Jenkins job every one minute "* * * * *"
Solution 4 - Jenkins
To run the build process every minute,
check the Build periodically option and add * * * * *