workspace_status_kokoro.bat 1.3 KB

1234567891011121314151617181920212223242526272829
  1. @rem Copyright 2019 gRPC authors.
  2. @rem
  3. @rem Licensed under the Apache License, Version 2.0 (the "License");
  4. @rem you may not use this file except in compliance with the License.
  5. @rem You may obtain a copy of the License at
  6. @rem
  7. @rem http://www.apache.org/licenses/LICENSE-2.0
  8. @rem
  9. @rem Unless required by applicable law or agreed to in writing, software
  10. @rem distributed under the License is distributed on an "AS IS" BASIS,
  11. @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. @rem See the License for the specific language governing permissions and
  13. @rem limitations under the License.
  14. @echo off
  15. @rem Adds additional labels to results page for Bazel RBE builds on Kokoro
  16. @rem Note that this script needs to be a .bat file, the .sh version of this
  17. @rem script is simply ignored when used on Windows.
  18. @rem Provide a way to go from Bazel RBE links back to Kokoro job results
  19. @rem which is important for debugging test infrastructure problems.
  20. @rem 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. echo KOKORO_BUILD_NUMBER %KOKORO_BUILD_NUMBER%
  24. echo KOKORO_JOB_NAME %KOKORO_JOB_NAME%
  25. echo KOKORO_GITHUB_COMMIT %KOKORO_GITHUB_COMMIT%