Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfarley committed Nov 21, 2023
1 parent ba7d525 commit 5844daa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tooling/build_autotriage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
}

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 5844daa

Please sign in to comment.