Code changed in jenkins
User: Steven Brown
Path:
src/main/java/hudson/plugins/timestamper/Timestamp.java
src/main/java/hudson/plugins/timestamper/TimestampNote.java
src/main/java/hudson/plugins/timestamper/TimestampNotesOutputStream.java
src/main/java/hudson/plugins/timestamper/TimestamperBuildWrapper.java
src/main/java/hudson/plugins/timestamper/format/TimestampFormatter.java
src/test/java/hudson/plugins/timestamper/TimestampNoteTest.java
src/test/java/hudson/plugins/timestamper/TimestampNotesOutputStreamTest.java
src/test/java/hudson/plugins/timestamper/TimestampTest.java
src/test/java/hudson/plugins/timestamper/action/TimestampsActionTest.java
http://jenkins-ci.org/commit/timestamper-plugin/a7748486421c450d05288acde444c08ebe0c77d2
Log:
[FIXED JENKINS-30143] Store elapsed time in timestamp console notes
The timestamp console notes previously relied on the context being a Run, so
that they can get the build start time and use it to calculate the elapsed time.
The elapsed time is now stored within the console notes during the build.
This allows timestamps to be displayed when a different context type is
provided, e.g. the workflow plugin provides a StepAtomNode.
Builds that ran with an earlier version of Timestamper and an unrecognised
context type will now display the system clock timestamps but not the elapsed
timestamps, because that information was not recorded.
Strange, would need to debug why that is happening.