-
New Feature
-
Resolution: Fixed
-
Major
-
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.
- is related to
-
JENKINS-21213 Java API to allow other plugins to read the timestamps
- Resolved