File tree 5 files changed +25
-3
lines changed
5 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,8 @@ env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
20
value: " github/python-docs-samples/.kokoro/tests/run_tests.sh"
21
21
}
22
+
23
+ env_vars: {
24
+ key: " REPORT_TO_BUILD_COP_BOT"
25
+ value: " True"
26
+ }
Original file line number Diff line number Diff line change @@ -19,3 +19,8 @@ env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
20
value: " github/python-docs-samples/.kokoro/tests/run_tests.sh"
21
21
}
22
+
23
+ env_vars: {
24
+ key: " REPORT_TO_BUILD_COP_BOT"
25
+ value: " True"
26
+ }
Original file line number Diff line number Diff line change @@ -19,3 +19,8 @@ env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
20
value: " github/python-docs-samples/.kokoro/tests/run_tests.sh"
21
21
}
22
+
23
+ env_vars: {
24
+ key: " REPORT_TO_BUILD_COP_BOT"
25
+ value: " True"
26
+ }
Original file line number Diff line number Diff line change @@ -19,3 +19,8 @@ env_vars: {
19
19
key: " TRAMPOLINE_BUILD_FILE"
20
20
value: " github/python-docs-samples/.kokoro/tests/run_tests.sh"
21
21
}
22
+
23
+ env_vars: {
24
+ key: " REPORT_TO_BUILD_COP_BOT"
25
+ value: " True"
26
+ }
Original file line number Diff line number Diff line change @@ -104,9 +104,11 @@ for file in **/requirements.txt; do
104
104
nox -s " $RUN_TESTS_SESSION "
105
105
EXIT=$?
106
106
107
- # If this is a periodic build, send the test log to the Build Cop Bot.
108
- # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop.
109
- if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = * " periodic" * ]]; then
107
+ # If REPORT_TO_BUILD_COP_BOT is set to "True", send the test log
108
+ # to the Build Cop Bot.
109
+ # See:
110
+ # https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop.
111
+ if [[ " ${REPORT_TO_BUILD_COP_BOT:- } " == " True" ]]; then
110
112
chmod +x $KOKORO_GFILE_DIR /linux_amd64/buildcop
111
113
$KOKORO_GFILE_DIR /linux_amd64/buildcop
112
114
fi
You can’t perform that action at this time.
0 commit comments