workspace_status_kokoro.sh 1.2 KB

1234567891011121314151617181920212223242526
  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. # Adds additional labels to results page for Bazel RBE builds on Kokoro
  16. # Provide a way to go from Bazel RBE links back to Kokoro job results
  17. # which is important for debugging test infrastructure problems.
  18. # TODO(jtattermusch): replace this workaround by something more user-friendly.
  19. echo "KOKORO_RESULTSTORE_URL https://source.cloud.google.com/results/invocations/${KOKORO_BUILD_ID}"
  20. echo "KOKORO_SPONGE_URL http://sponge.corp.google.com/${KOKORO_BUILD_ID}"
  21. echo "KOKORO_BUILD_NUMBER ${KOKORO_BUILD_NUMBER}"
  22. echo "KOKORO_JOB_NAME ${KOKORO_JOB_NAME}"
  23. echo "KOKORO_GITHUB_COMMIT ${KOKORO_GITHUB_COMMIT}"