Skip to content

Commit b6270ae

Browse files
tbpgbusunkim96
andauthored
.kokoro/testing: use buildcop binary to publish logs (#2957)
The script sometimes runs into shell limits passing arguments to gcloud. Co-authored-by: Bu Sun Kim <[email protected]>
1 parent d1a05eb commit b6270ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.kokoro/tests/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ for file in **/requirements.txt; do
103103
# If this is a continuous build, send the test log to the Build Cop Bot.
104104
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop.
105105
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then
106-
chmod +x $KOKORO_GFILE_DIR/buildcop.sh
107-
$KOKORO_GFILE_DIR/buildcop.sh
106+
chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop
107+
$KOKORO_GFILE_DIR/linux_amd64/buildcop
108108
fi
109109

110110
if [[ $EXIT -ne 0 ]]; then

0 commit comments

Comments
 (0)