Skip to content

Commit

Permalink
build(java): use ENABLE_FLAKYBOT env variable (#1175)
Browse files Browse the repository at this point in the history
Kokoro job config now supports both environment variables during this migration period.
  • Loading branch information
chingor13 authored Aug 12, 2021
1 parent 7e1f6da commit ff01716
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synthtool/gcp/templates/java_library/.kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fi
# fix output location of logs
bash .kokoro/coerce_logs.sh

if [[ "${ENABLE_BUILD_COP}" == "true" ]]
if [[ "${ENABLE_FLAKYBOT}" == "true" ]]
then
chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot
${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo={{metadata['repo']['repo']}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env_vars: {
}

env_vars: {
key: "ENABLE_BUILD_COP"
key: "ENABLE_FLAKYBOT"
value: "true"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ env_vars: {
}

env_vars: {
key: "ENABLE_BUILD_COP"
key: "ENABLE_FLAKYBOT"
value: "true"
}

0 comments on commit ff01716

Please sign in to comment.