AKS
AKS

Reputation: 17326

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

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

Upvotes: 65

Views: 74587

Answers (4)

pravi
pravi

Reputation: 11

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

Upvotes: 0

Gunjan Paul
Gunjan Paul

Reputation: 531

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

Upvotes: -1

vins
vins

Reputation: 15370

Try * * * * * to run every minute.

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

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

Upvotes: 106

thiagowfx
thiagowfx

Reputation: 5710

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".

Upvotes: 16

Related Questions