-
Bug
-
Resolution: Fixed
-
Minor
Create a multibranch pipeline project, check "Periodically if not otherwise run" and try to set and save the Interval to 1 hour. Configure shows 1 minute. Values up to 30 minutes are remembered, but 1 hour reverts to 1 minute, 2 hours gives 2 minutes, 8 hours gives 1 minute. It's expected that the selected time is returned, which is not happening here.
- is duplicated by
-
JENKINS-33604 Sync Branches trigger always runs every minute
-
- Closed
-
- is related to
-
JENKINS-40535 Periodically if not otherwise run - interval value does not trigger branch indexing as expected
-
- Resolved
-
- links to
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/com/cloudbees/hudson/plugins/folder/computed/PeriodicFolderTrigger.java
src/test/java/com/cloudbees/hudson/plugins/folder/computed/PeriodicFolderTriggerTest.java
http://jenkins-ci.org/commit/cloudbees-folder-plugin/b3ef2194e9991b99aa2d63adf91a4958225f4c27
Log:
[FIXED JENKINS-33006] Hour-based increments were not being round-tripped correctly.