Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  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

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

            Dates

              Created:
              Updated:
              Resolved: