Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rely on System.currentTimeMillis only (not nanoTime) due to JENKINS-1…
…9778 On most Jenkins servers, System.nanoTime gives a more accurate reading of elapsed time, because it is unaffected when the clock is changed. However, on the Jenkins server in issue 19778, System.nanoTime jumps forwards several times during the build, by about 30-40 seconds each time. Once the build has finished, the Timestamper plugin reports an elapsed time of about twice what it should be. It does not seem possible for the plugin to reliably determine whether it can use System.nanoTime, especially when running within a virtual machine. Overall, it is not worthwhile for the plugin to rely on System.nanoTime.
- Loading branch information
1 parent
dc50c3a
commit 4ec6bac
Showing
12 changed files
with
436 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.