From ff01716e16d2c6e87eaf87197b753ac9fcbbed5d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 12 Aug 2021 10:10:27 -0700 Subject: [PATCH] build(java): use ENABLE_FLAKYBOT env variable (#1175) Kokoro job config now supports both environment variables during this migration period. --- synthtool/gcp/templates/java_library/.kokoro/build.sh | 2 +- .../gcp/templates/java_library/.kokoro/nightly/integration.cfg | 2 +- .../gcp/templates/java_library/.kokoro/nightly/samples.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/synthtool/gcp/templates/java_library/.kokoro/build.sh b/synthtool/gcp/templates/java_library/.kokoro/build.sh index 108ab5e7b..4607b15db 100755 --- a/synthtool/gcp/templates/java_library/.kokoro/build.sh +++ b/synthtool/gcp/templates/java_library/.kokoro/build.sh @@ -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']}} diff --git a/synthtool/gcp/templates/java_library/.kokoro/nightly/integration.cfg b/synthtool/gcp/templates/java_library/.kokoro/nightly/integration.cfg index 0048c8ece..e51c7b4c6 100644 --- a/synthtool/gcp/templates/java_library/.kokoro/nightly/integration.cfg +++ b/synthtool/gcp/templates/java_library/.kokoro/nightly/integration.cfg @@ -22,7 +22,7 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" } diff --git a/synthtool/gcp/templates/java_library/.kokoro/nightly/samples.cfg b/synthtool/gcp/templates/java_library/.kokoro/nightly/samples.cfg index f25429314..9761fd864 100644 --- a/synthtool/gcp/templates/java_library/.kokoro/nightly/samples.cfg +++ b/synthtool/gcp/templates/java_library/.kokoro/nightly/samples.cfg @@ -33,6 +33,6 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" }