BAZEL_INTERNAL_INVOCATION_ID is deprecated

pull/17374/head
Jan Tattermusch 6 years ago
parent 0e717e4655
commit 6311ddbe4b
  1. 7
      tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh

@ -35,14 +35,15 @@ cd $(dirname $0)/../../..
source tools/internal_ci/helper_scripts/prepare_build_linux_rc source tools/internal_ci/helper_scripts/prepare_build_linux_rc
# to get "bazel" link for kokoro build, we need to generate # to get "bazel" link for kokoro build, we need to generate
# invocation UUID, set an env var for bazel to pick it up # invocation UUID, set a flag for bazel to use it
# and upload "bazel_invocation_ids" file as artifact. # and upload "bazel_invocation_ids" file as artifact.
export BAZEL_INTERNAL_INVOCATION_ID="$(uuidgen)" BAZEL_INVOCATION_ID="$(uuidgen)"
echo "${BAZEL_INTERNAL_INVOCATION_ID}" >"${KOKORO_ARTIFACTS_DIR}/bazel_invocation_ids" echo "${BAZEL_INVOCATION_ID}" >"${KOKORO_ARTIFACTS_DIR}/bazel_invocation_ids"
bazel \ bazel \
--bazelrc=tools/remote_build/kokoro.bazelrc \ --bazelrc=tools/remote_build/kokoro.bazelrc \
test \ test \
--invocation_id="${BAZEL_INVOCATION_ID}" \
$@ \ $@ \
-- //test/... || FAILED="true" -- //test/... || FAILED="true"

Loading…
Cancel
Save