diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-10-26 08:51:41 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-10-26 08:51:41 +0200 |
commit | 49650ef596e9b3b2830483be3f8bd3e4123435f6 (patch) | |
tree | d0293a03d00e6a5ec6ad9b77cacc6531780a8431 /tools/internal_ci/linux | |
parent | 3c2f3e1eb380476fb40ea2178489e693d5a0e868 (diff) |
post bazel invocation details from kokoro rbe jobs
Diffstat (limited to 'tools/internal_ci/linux')
-rwxr-xr-x | tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh b/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh index 4ad806c303..c5eb9b398b 100755 --- a/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh +++ b/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh @@ -35,6 +35,12 @@ cd $(dirname $0)/../../.. source tools/internal_ci/helper_scripts/prepare_build_linux_rc +# to get "bazel" link for kokoro build, we need to generate +# invocation UUID, set an env var for bazel to pick it up +# and upload "bazel_invocation_ids" file as artifact. +export BAZEL_INTERNAL_INVOCATION_ID="$(uuidgen)" +echo "${BAZEL_INTERNAL_INVOCATION_ID}" >"${KOKORO_ARTIFACTS_DIR}/bazel_invocation_ids" + bazel \ --bazelrc=tools/remote_build/kokoro.bazelrc \ test \ |