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

HOUR field in Build Periodically Schedule incorrectly interpretted when > 11

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Platform: PC, OS: Windows XP

      When scheduling a build, the HOUR field doesn't seem to be interpretted
      correctly when it's greater than 11. For example, a schedule of 0 13 * * *
      doesn't kick off the job at 1 PM, while a schedule of 0 1 * * * does kick it off
      at 1PM, as well as at 1AM.

          [JENKINS-78] HOUR field in Build Periodically Schedule incorrectly interpretted when > 11

          johnsol created issue -

          Thanks. It was Calendar.HOUR => Calendar.HOUR_OF_DAY fix.

          Kohsuke Kawaguchi added a comment - Thanks. It was Calendar.HOUR => Calendar.HOUR_OF_DAY fix.
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: www [ 15484 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 130151 ] New: JNJira + In-Review [ 199552 ]

            Unassigned Unassigned
            johnsol johnsol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: