• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • timestamper-plugin
    • None

      Please provide a way to retrieve the current Jenkins time, ideally in the same format as the job start timestamp.

      System time on client machines calling the api will invariably be out of synch with the Jenkins server time, so it would be very helpful to have a way to understand exactly what time the Jenkins server thinks it is.

      Also, the api call for timestamps or time elapsed returns a lot of data; I'm only interested in the last line of that data, so I would like to be able to retrieve just a single value representing the current time at the moment of an api call.

      As a bonus, it would be nice to also have access to a single value representing total time elapsed since job start.

          [JENKINS-21687] Add api call for current jenkins time

          Peter Gerstmann created issue -
          Steven G Brown made changes -
          Assignee Original: Steven G Brown [ stevengbrown ]
          Sebastian Schuberth made changes -
          Link New: This issue is related to JENKINS-21213 [ JENKINS-21213 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 153686 ] New: JNJira + In-Review [ 178575 ]
          Steven G Brown made changes -
          Assignee New: Steven G Brown [ stevengbrown ]
          Steven G Brown made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            stevengbrown Steven G Brown
            ellemenno Peter Gerstmann
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: