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

JenkinsBuildCronJob SchedulingPeriodic Processing

Jenkins 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 * * * ***

enter image description here enter image description here

Jenkins Solutions


Solution 1 - Jenkins

Try * * * * * to run every minute.

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

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

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 * * * * *

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAKSView Question on Stackoverflow
Solution 1 - JenkinsvinsView Answer on Stackoverflow
Solution 2 - JenkinsthiagowfxView Answer on Stackoverflow
Solution 3 - JenkinspraviView Answer on Stackoverflow
Solution 4 - JenkinsGunjan PaulView Answer on Stackoverflow