Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33006

"Periodically if not otherwise run" interval value acts erratically

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            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.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - 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.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            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/8df445af267566984b122bd108585572ac5f6ccc
            Log:
            Merge pull request #45 from jglick/PeriodicFolderTrigger.interval-JENKINS-33006

            JENKINS-33006 Hour-based increments were not being round-tripped correctly

            Compare: https://github.com/jenkinsci/cloudbees-folder-plugin/compare/4d316b9c67ee...8df445af2675

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - 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/8df445af267566984b122bd108585572ac5f6ccc Log: Merge pull request #45 from jglick/PeriodicFolderTrigger.interval- JENKINS-33006 JENKINS-33006 Hour-based increments were not being round-tripped correctly Compare: https://github.com/jenkinsci/cloudbees-folder-plugin/compare/4d316b9c67ee...8df445af2675
            Hide
            kampak1111 Kamil P added a comment -

            Interesting... I'm using in in Jenkins 2.19.4 and
            5 minutes - looks to be 12 minutes
            1minute seems to be 2 minutes,

            so I think here still something wrong.

            Show
            kampak1111 Kamil P added a comment - Interesting... I'm using in in Jenkins 2.19.4 and 5 minutes - looks to be 12 minutes 1minute seems to be 2 minutes, so I think here still something wrong.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                josb Jos Backus
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: