From beff14c93c2ddb4996fa7cec09e7df69138862fa Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Tue, 22 Nov 2016 12:32:26 +0000 Subject: ci: Use HTML report instead of PDF After the switch to opnfvdocs script for documentation build, the pdf version of documentation is not generated. HTML report should be stored inside artifactory instead. JIRA: VSPERF-324 Change-Id: I42f918721264959ba7c94223204d83ce1fe8ad60 Signed-off-by: Martin Klozik Reviewed-by: Al Morton Reviewed-by: Christian Trautman Reviewed-by: Bill Michalowski Reviewed-by: Antonio Fischetti Reviewed-by: Otto Sabart --- ci/build-vsperf.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ci/build-vsperf.sh') diff --git a/ci/build-vsperf.sh b/ci/build-vsperf.sh index 16e4625e..4d6acf70 100755 --- a/ci/build-vsperf.sh +++ b/ci/build-vsperf.sh @@ -67,7 +67,7 @@ TEST_REPORT_PARTIAL="*_test_report.rst" TEST_REPORT_DIR="${WORKSPACE}/docs/results" TEST_REPORT_INDEX="${TEST_REPORT_DIR}/index.rst" TEST_REPORT_LINK_OLD="https://wiki.opnfv.org/wiki/vsperf_results" -TEST_REPORT_FILE="${WORKSPACE}/docs_output/results/results.pdf" +TEST_REPORT_FILE="${WORKSPACE}/docs_output/results/index.html" TEST_REPORT_TARBALL="vswitchperf_logs_${DATE}.tar.gz" if [[ "x${BRANCH}" == "xmaster" ]]; then @@ -239,9 +239,9 @@ function generate_report() { sed -ie 's,python ,python2 ,g' ./opnfvdocs/scripts/docs-build.sh OPNFVDOCS_DIR='./opnfvdocs' ./opnfvdocs/scripts/docs-build.sh &> /dev/null - # store PDF with test results into dedicated directory + # store HTML report with test results into dedicated directory if [ -f $TEST_REPORT_FILE ] ; then - cp -a $TEST_REPORT_FILE $TEST_REPORT_LOG_DIR + cp -ar $TEST_REPORT_FILE $(dirname $TEST_REPORT_FILE)/_static $TEST_REPORT_LOG_DIR echo "Final test report has been created." else echo "FAILURE: Generation of final test report has failed." -- cgit 1.2.3-korg