Skip to content

Commit

Permalink
Trying this for cloud run
Browse files Browse the repository at this point in the history
  • Loading branch information
fhinkel committed Mar 30, 2020
1 parent 03ebc39 commit 42d085d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .kokoro/build-with-appengine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ npm install

# If tests are running against master, configure Build Cop
# to open issues on failures:
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"presubmit"* ]]; then
export MOCHA_REPORTER_OUTPUT=sponge_log.xml
export MOCHA_REPORTER=xunit
export MOCHA_REPORTER_SUITENAME=${PROJECT}
cleanup() {
chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop
$KOKORO_GFILE_DIR/linux_amd64/buildcop
Expand Down
3 changes: 2 additions & 1 deletion .kokoro/build-with-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ npm install

# If tests are running against master, configure Build Cop
# to open issues on failures:
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"release"* ]]; then
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"presubmit"* ]]; then
export MOCHA_REPORTER_OUTPUT=sponge_log.xml
export MOCHA_REPORTER=xunit
export MOCHA_REPORTER_SUITENAME=${PROJECT}
cleanup() {
chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop
$KOKORO_GFILE_DIR/linux_amd64/buildcop
Expand Down

0 comments on commit 42d085d

Please sign in to comment.