Details
-
Task
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
currentBuild.duration always returns 0, since Run.duration is 0 until the run completes. So we should switch currentBuild.duration to return System.currentTimeMillis() - currentBuild.startTimeInMillis and add currentBuild.durationString, calling Run.getDurationString().
Attachments
Issue Links
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Remote Link | This issue links to "PR #33 (Web Link)" [ 15738 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |