Fix: CSIT report generation 58/4958/1
authorpmikus <pmikus@cisco.com>
Tue, 31 Jan 2017 15:21:12 +0000 (16:21 +0100)
committerpmikus <pmikus@cisco.com>
Tue, 31 Jan 2017 15:21:12 +0000 (16:21 +0100)
- Fix dir path

Change-Id: I1a9fa0e796687d97b8660e704fbc19052655973a
Signed-off-by: pmikus <pmikus@cisco.com>
jjb/csit/include-raw-csit-report.sh

index 059c09d..40144f2 100644 (file)
@@ -4,13 +4,13 @@ set -xe -o pipefail
 
 [ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/content/sites/site"
 [ "$PROJECT_PATH" ] || PROJECT_PATH=io/fd/csit
-[ "$REPORT_DIR" ] || REPORT_DIR=resources/tools/report_gen
+[ "$DOC_DIR" ] || DOC_DIR=resources/tools/report_gen
 [ "$BUILD_DIR" ] || BUILD_DIR=${DOC_DIR}/_build
 [ "$SITE_DIR" ] || SITE_DIR=build-root/docs/deploy-site
 [ "$RESOURCES_DIR" ] || RESOURCES_DIR=${SITE_DIR}/src/site/resources/report
 [ "$MVN" ] || MVN="/opt/apache/maven/bin/mvn"
 
-cd ${REPORT_DIR}
+cd ${DOC_DIR}
 chmod +x ./run_report.sh
 ./run_report.sh ${GERRIT_BRANCH}