diff --git a/.kokoro/build-with-appengine.sh b/.kokoro/build-with-appengine.sh index e235cfe896..6154c6083b 100755 --- a/.kokoro/build-with-appengine.sh +++ b/.kokoro/build-with-appengine.sh @@ -65,7 +65,7 @@ npm install # If tests are running against master, configure Build Cop # to open issues on failures: -if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then +if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then export MOCHA_REPORTER_OUTPUT=sponge_log.xml export MOCHA_REPORTER=xunit cleanup() { diff --git a/.kokoro/build-with-run.sh b/.kokoro/build-with-run.sh index 31d3b524c4..924e6003a7 100755 --- a/.kokoro/build-with-run.sh +++ b/.kokoro/build-with-run.sh @@ -61,7 +61,7 @@ npm install # If tests are running against master, configure Build Cop # to open issues on failures: -if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then +if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then export MOCHA_REPORTER_OUTPUT=sponge_log.xml export MOCHA_REPORTER=xunit cleanup() { diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 4b6cc25d22..6e1f733395 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -88,7 +88,7 @@ gcloud config set project $GCLOUD_PROJECT # If tests are running against master, configure Build Cop # to open issues on failures: -if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then +if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then export MOCHA_REPORTER_OUTPUT=sponge_log.xml export MOCHA_REPORTER=xunit cleanup() {