diff options
Diffstat (limited to 'jjb/csit')
-rw-r--r-- | jjb/csit/csit.yaml | 2 | ||||
-rw-r--r-- | jjb/csit/include-raw-csit-report.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/jjb/csit/csit.yaml b/jjb/csit/csit.yaml index 4b4fb9bb6..ad622be74 100644 --- a/jjb/csit/csit.yaml +++ b/jjb/csit/csit.yaml @@ -785,7 +785,7 @@ scm: - gerrit-trigger-scm: credentials-id: 'jenkins-gerrit-credentials' - refspec: '' + refspec: '$GERRIT_REFSPEC' choosing-strategy: 'default' wrappers: diff --git a/jjb/csit/include-raw-csit-report.sh b/jjb/csit/include-raw-csit-report.sh index 059c09db7..40144f2c2 100644 --- a/jjb/csit/include-raw-csit-report.sh +++ b/jjb/csit/include-raw-csit-report.sh @@ -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} |