File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ set -euo pipefail
1818
1919BASE_DIR=" $( dirname " $( realpath " ${BASH_SOURCE[0]} " ) " ) "
2020TEST_DIR=" ${BASE_DIR} /csi-test-artifacts"
21+ # On Prow, $ARTIFACTS indicates where to put the artifacts for skylens upload
22+ REPORT_DIR=" ${ARTIFACTS:- ${TEST_DIR} / artifacts} "
2123mkdir -p " ${TEST_DIR} "
2224CLUSTER_FILE=${TEST_DIR} /${CLUSTER_NAME} .${CLUSTER_TYPE} .yaml
2325KUBECONFIG=${KUBECONFIG:- " ${TEST_DIR} /${CLUSTER_NAME} .${CLUSTER_TYPE} .kubeconfig" }
Original file line number Diff line number Diff line change @@ -152,10 +152,10 @@ else
152152 " ${BIN} /ginkgo" -p -nodes=" ${GINKGO_PARALLEL} " -v \
153153 --focus=" ${GINKGO_FOCUS} " \
154154 --skip=" ${GINKGO_SKIP} " \
155+ --junit-report=" ${REPORT_DIR} /junit.xml" \
155156 " ${TEST_PATH} " \
156157 -- \
157158 -kubeconfig=" ${KUBECONFIG} " \
158- -report-dir=" ${TEST_DIR} /artifacts" \
159159 -gce-zone=" ${FIRST_ZONE} "
160160 TEST_PASSED=$?
161161 set -e
You can’t perform that action at this time.
0 commit comments