Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-3660

Builds that took less than 1 sec to execute should be reported as 'less than a second' instead of 'Unknown'

    XMLWordPrintable

    Details

      Description

      ATM the build results tab 'Completed builds' /build/viewBuildHistory!default.action?buildKey=XXX-YYY displays a table where build duration is 'Unknown' if the build took less than a sec:

      In AbstractBuildResultSummary.java

      public String getDurationDescription()
      {

      final String DURATION_UNKNOWN = "Unknown";
      final double durationInSeconds = getDurationInSeconds();
      if (durationInSeconds > 0)

      { return DurationUtils.getPrettyPrint((long) (durationInSeconds * 1000)); }

      else

      { return DURATION_UNKNOWN; }

      }

        Attachments

          Activity

            People

            Assignee:
            bteh Belinda Teh [Atlassian]
            Reporter:
            ukuhnhardt Ulrich Kuhnhardt [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: