From 5844daa427351facb9a541ad3bfbbb9637c03b4e Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Tue, 21 Nov 2023 13:29:44 +0000 Subject: [PATCH] m --- tooling/build_autotriage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tooling/build_autotriage.sh b/tooling/build_autotriage.sh index 1d86694677..de068ff663 100644 --- a/tooling/build_autotriage.sh +++ b/tooling/build_autotriage.sh @@ -56,7 +56,7 @@ temurinPlatforms+=("windows-x86-32"); platformStart+=(8); platformEnd+=(1 errorLog() { echo "ERROR FOUND: Adding this issue to issues list: $1" - buildIssues+=$1 + buildIssues+=($1) echo "Current number of build failures: ${#buildIssues[@]}" } @@ -118,12 +118,12 @@ identifyFailedBuildsInTimerPipelines() { for jsonEntry in $listOfPipelineBuilds do if [[ jsonEntry =~ ^\"buildName\"\:\"[0-9a-zA-Z\-]+\"$ ]]; then - listOfBuildNames+="${jsonEntry:13:-1}" + listOfBuildNames+=("${jsonEntry:13:-1})" shorterListOfBuilds+="${jsonEntry}," elif [[ jsonEntry =~ ^\"buildNum\"\:[0-9]+$ ]]; then - listOfBuildNums+="${jsonEntry:11}" + listOfBuildNums+=("${jsonEntry:11})" elif [[ jsonEntry =~ ^\"buildResult\"\:\"[A-Z]+\"$ ]]; then - listOfBuildResults+="${jsonEntry:15:-1}" + listOfBuildResults+=("${jsonEntry:15:-1})" fi done