summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Renn <tomrenn@google.com>2022-08-11 15:13:45 -0700
committerTreeHugger Robot <treehugger-gerrit@google.com>2022-08-16 22:48:22 +0000
commit14f6d38a71470d20cbb2205e3aa70ed4aeb4f22b (patch)
treea7ff64dc9bbb2577ed2417add4165242ddfbae83
parenta2592b0a241c87f06471774c74ee4a2d90669234 (diff)
downloadbase-14f6d38a71470d20cbb2205e3aa70ed4aeb4f22b.tar.gz
Add a link to ATI results
This will make it easier to navigate to the ATI results from the Sponge invocation properties. Bug: 242202334 Test: n/a Change-Id: I3adae2092b5be9f40744c7a35007aa577e2acc3c
-rwxr-xr-xbazel/perfgate_linux.sh1
-rw-r--r--bazel/perfgate_win.cmd1
-rwxr-xr-xbazel/studio_coverage.sh1
-rwxr-xr-xbazel/studio_linux.sh1
-rwxr-xr-xbazel/studio_win.cmd1
5 files changed, 5 insertions, 0 deletions
diff --git a/bazel/perfgate_linux.sh b/bazel/perfgate_linux.sh
index 360aad42a3..c651747c93 100755
--- a/bazel/perfgate_linux.sh
+++ b/bazel/perfgate_linux.sh
@@ -30,6 +30,7 @@ readonly invocation_id="$(uuidgen)"
${config_options} --config=ants \
--build_metadata=ab_build_id="${BUILD_NUMBER}" \
--build_metadata=ab_target=perfgate-linux \
+ --build_metadata=ANDROID_TEST_INVESTIGATE="http://ab/tests/bazel/${invocation_id}" \
--invocation_id=${invocation_id} \
--build_tag_filters=${build_tag_filters} \
--define=meta_android_build_number=${build_number} \
diff --git a/bazel/perfgate_win.cmd b/bazel/perfgate_win.cmd
index 272a6ce384..c58c3fd27e 100644
--- a/bazel/perfgate_win.cmd
+++ b/bazel/perfgate_win.cmd
@@ -34,6 +34,7 @@ CALL %SCRIPTDIR%bazel.cmd ^
--config=ci --config=ants ^
--build_metadata=ab_build_id=%BUILDNUMBER% ^
--build_metadata=ab_target=perfgate-win ^
+ --build_metadata=ANDROID_TEST_INVESTIGATE="http://ab/tests/bazel/%INVOCATIONID%" ^
--build_tag_filters=-no_windows ^
--invocation_id=%INVOCATIONID% ^
--build_event_binary_file=%DISTDIR%\bazel-%BUILDNUMBER%.bes ^
diff --git a/bazel/studio_coverage.sh b/bazel/studio_coverage.sh
index 7eaaa12e34..dc73ebb09a 100755
--- a/bazel/studio_coverage.sh
+++ b/bazel/studio_coverage.sh
@@ -73,6 +73,7 @@ fi
--build_event_binary_file="${dist_dir:-/tmp}/bazel-${build_number}.bes" \
--profile="${dist_dir:-/tmp}/profile-${build_number}.json.gz" \
--build_metadata=ANDROID_BUILD_ID="${build_number}" \
+ --build_metadata=ANDROID_TEST_INVESTIGATE="http://ab/tests/bazel/${invocation_id}" \
--build_metadata=ab_build_id="${build_number}" \
--build_metadata=ab_target=studio-coverage \
${auth_options} \
diff --git a/bazel/studio_linux.sh b/bazel/studio_linux.sh
index e5554eb1ed..11b0bf0437 100755
--- a/bazel/studio_linux.sh
+++ b/bazel/studio_linux.sh
@@ -137,6 +137,7 @@ function run_bazel_test() {
--build_event_binary_file="${DIST_DIR:-/tmp}/bazel-${BUILD_NUMBER}.bes" \
--define=meta_android_build_number="${BUILD_NUMBER}" \
--build_metadata=ANDROID_BUILD_ID="${BUILD_NUMBER}" \
+ --build_metadata=ANDROID_TEST_INVESTIGATE="http://ab/tests/bazel/${invocation_id}" \
--build_metadata=ab_build_id="${BUILD_NUMBER}" \
--build_metadata=ab_target="${target_name}" \
--test_tag_filters=${test_tag_filters} \
diff --git a/bazel/studio_win.cmd b/bazel/studio_win.cmd
index 00bd3c48da..422b44171f 100755
--- a/bazel/studio_win.cmd
+++ b/bazel/studio_win.cmd
@@ -84,6 +84,7 @@ setlocal
--build_event_binary_file=%DISTDIR%\bazel-%BUILDNUMBER%.bes ^
--test_tag_filters=%TESTTAGFILTERS% ^
--build_metadata=ANDROID_BUILD_ID=%BUILDNUMBER% ^
+ --build_metadata=ANDROID_TEST_INVESTIGATE="http://ab/tests/bazel/%INVOCATIONID%" ^
--build_metadata=ab_build_id=%BUILDNUMBER% ^
--build_metadata=ab_target=studio-win ^
--profile=%DISTDIR%\winprof%BUILDNUMBER%.json.gz ^