Skip to content

Commit ff01716

Browse files
authored
build(java): use ENABLE_FLAKYBOT env variable (#1175)
Kokoro job config now supports both environment variables during this migration period.
1 parent 7e1f6da commit ff01716

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

synthtool/gcp/templates/java_library/.kokoro/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ fi
115115
# fix output location of logs
116116
bash .kokoro/coerce_logs.sh
117117

118-
if [[ "${ENABLE_BUILD_COP}" == "true" ]]
118+
if [[ "${ENABLE_FLAKYBOT}" == "true" ]]
119119
then
120120
chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot
121121
${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo={{metadata['repo']['repo']}}

synthtool/gcp/templates/java_library/.kokoro/nightly/integration.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env_vars: {
2222
}
2323

2424
env_vars: {
25-
key: "ENABLE_BUILD_COP"
25+
key: "ENABLE_FLAKYBOT"
2626
value: "true"
2727
}
2828

synthtool/gcp/templates/java_library/.kokoro/nightly/samples.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ env_vars: {
3333
}
3434

3535
env_vars: {
36-
key: "ENABLE_BUILD_COP"
36+
key: "ENABLE_FLAKYBOT"
3737
value: "true"
3838
}

0 commit comments

Comments
 (0)