We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9f1d0b commit 1b1171dCopy full SHA for 1b1171d
.kokoro/build.sh
@@ -40,6 +40,16 @@ python3 -m pip uninstall --yes --quiet nox-automation
40
python3 -m pip install --upgrade --quiet nox
41
python3 -m nox --version
42
43
+# If this is a continuous build, send the test log to the FlakyBot.
44
+# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
45
+if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then
46
+ cleanup() {
47
+ chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
48
+ $KOKORO_GFILE_DIR/linux_amd64/flakybot
49
+ }
50
+ trap cleanup EXIT HUP
51
+fi
52
+
53
# If NOX_SESSION is set, it only runs the specified session,
54
# otherwise run all the sessions.
55
if [[ -n "${NOX_SESSION:-}" ]]; then
0 commit comments