enable build cop bot
@@ -108,4 +108,11 @@ echo "******** Success ********"
echo "STATUS: ${?}"
+# If this is a periodic build, send the test log to the Build Cop Bot.
+# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop.
+if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
+ chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop
+ $KOKORO_GFILE_DIR/linux_amd64/buildcop
+fi
+
