stdci: set path to junit results to be collected by jenkins
STDCI Jenkins job is configured to match junit results
as exported-artifacts/*.junit.xml .
set -ex
export WORKSPACE="${WORKSPACE:-$PWD}"
+readonly ARTIFACTS_PATH="$WORKSPACE/exported-artifacts"
if [[ $TARGET =~ openshift-.* ]]; then
if [[ $TARGET =~ .*-crio-.* ]]; then
@@ -152,7 +153,9 @@ done
kubectl version
-ginko_params="--ginkgo.noColor --junit-output=$WORKSPACE/junit.xml"
+mkdir -p "$ARTIFACTS_PATH"
+
+ginko_params="--ginkgo.noColor --junit-output=$ARTIFACTS_PATH/tests.junit.xml"
# Prepare PV for windows testing
if [[ $TARGET =~ windows.* ]]; then
