| 1 |
#!/bin/bash |
| 2 |
# Copyright 2018 The gRPC Authors |
| 3 |
# |
| 4 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
# you may not use this file except in compliance with the License. |
| 6 |
# You may obtain a copy of the License at |
| 7 |
# |
| 8 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
# |
| 10 |
# Unless required by applicable law or agreed to in writing, software |
| 11 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
# See the License for the specific language governing permissions and |
| 14 |
# limitations under the License. |
| 15 |
|
| 16 |
# Adds additional labels to results page for Bazel RBE builds on Kokoro |
| 17 |
|
| 18 |
# Provide a way to go from Bazel RBE links back to Kokoro job results |
| 19 |
# which is important for debugging test infrastructure problems. |
| 20 |
# TODO(jtattermusch): replace this workaround by something more user-friendly. |
| 21 |
echo "KOKORO_RESULTSTORE_URL https://source.cloud.google.com/results/invocations/${KOKORO_BUILD_ID}" |
| 22 |
echo "KOKORO_SPONGE_URL http://sponge.corp.google.com/${KOKORO_BUILD_ID}" |
| 23 |
|
| 24 |
echo "KOKORO_BUILD_NUMBER ${KOKORO_BUILD_NUMBER}" |
| 25 |
echo "KOKORO_JOB_NAME ${KOKORO_JOB_NAME}" |
| 26 |
echo "KOKORO_GITHUB_COMMIT ${KOKORO_GITHUB_COMMIT}" |