Skip to content

Commit 07116d0

Browse files
committed
Use same override logic for Build Scan IDs as Build Scan URLs
1 parent 95a8aeb commit 07116d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/scripts/lib/build-scan-parse.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ parse_build_scan_row() {
100100
build_scan_urls[run_num]="${field_3}"
101101
fi
102102

103+
if [ -z "${build_scan_ids[run_num]}" ]; then
104+
build_scan_ids[run_num]="${field_4}"
105+
fi
106+
103107
if [ -z "${git_repos[run_num]}" ]; then
104108
git_repos[run_num]="${field_5}"
105109
fi
@@ -123,7 +127,6 @@ parse_build_scan_row() {
123127
# The below fields are always set by Build Scan data regardless of their
124128
# previous value and are always safe to override.
125129

126-
build_scan_ids[run_num]="${field_4}"
127130
remote_build_cache_urls[run_num]="${field_10}"
128131
remote_build_cache_shards[run_num]="${field_11}"
129132

0 commit comments

Comments
 (0)