The human readable file size method hudson.Functions.humanReadableByteSize(long) returns ",00" for empty files (zero byte length)
(see attached screenshot jenkins_fileSize_original.png).
It should return "0" instead.
Also bytes should not be shown in decimal format.
The second screenshot (jenkins_fileSize_new.png) shows the file size format after implementing the proposed changes.
- is related to
-
JENKINS-7798 File size should be shown on project dashboard for archived artifacts
- Resolved