mofify gate reports to use static html because of some unreachable links.

Change-Id: I4d71b57346817023e8b626905bb6701303dbdad6
This commit is contained in:
cxhuawei 2017-08-07 19:08:00 -07:00 committed by Hai Shi
parent 8efef5b5f5
commit c7b72815d1
2 changed files with 6 additions and 2 deletions

View File

@ -135,7 +135,7 @@ function run () {
gzip -9 rally-plot/detailed.txt
rally task detailed --iterations-data > rally-plot/detailed_with_iterations.txt
gzip -9 rally-plot/detailed_with_iterations.txt
rally task report --html --out rally-plot/results.html
rally task report --html-static --out rally-plot/results.html
gzip -9 rally-plot/results.html
rally task export --type junit-xml --to rally-plot/junit.xml
gzip -9 rally-plot/junit.xml

View File

@ -400,9 +400,13 @@ class ReportVerificationMixin(Step):
class HtmlVerificationReport(ReportVerificationMixin):
"""Generate HTML report for verification(s)."""
CALL_ARGS = {"type": "html"}
CALL_ARGS = {"type": "html-static"}
DEPENDS_ON = RunVerification
def setUp(self):
super(HtmlVerificationReport, self).setUp()
self.CALL_ARGS["out"] = self.CALL_ARGS["out"][:-7]
class JsonVerificationReport(ReportVerificationMixin):
"""Generate JSON report for verification(s)."""