Skip to content

Commit fa0d511

Browse files
authored
Merge pull request #1335 from percona/CLOUD-909
CLOUD-909 - Add table for test duration in GH report
2 parents 2f57481 + f96c9d5 commit fa0d511

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Jenkinsfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ void makeReport() {
205205
TestsReport = TestsReport + "\r\n| " + testName + " | [" + testResult + "](" + testUrl + ") | " + formatTime(testTime) + " |"
206206
TestsReportXML = TestsReportXML + '<testcase name=\\"' + testName + '\\" time=\\"' + testTime + '\\"><'+ testResult +'/></testcase>\n'
207207
}
208-
TestsReport = TestsReport + "\r\n| We run $startedTestAmount out of $wholeTestAmount | | " + formatTime(totalTestTime) + " |"
208+
TestsReport = TestsReport + "\r\n\r\n| Summary | Value |\r\n| ------- | ----- |"
209+
TestsReport = TestsReport + "\r\n| Tests Run | $startedTestAmount/$wholeTestAmount |"
210+
TestsReport = TestsReport + "\r\n| Job Duration | " + formatTime(currentBuild.duration / 1000) + " |"
211+
TestsReport = TestsReport + "\r\n| Total Test Time | " + formatTime(totalTestTime) + " |"
209212
TestsReportXML = TestsReportXML + '</testsuite>\n'
210213

211214
sh """

0 commit comments

Comments
 (0)