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 e328ee8 commit bca0979
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tooling/build_autotriage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ identifyFailedBuildsInTimerPipelines() {
break
done

echo "Found TRSS pipeline id for jdk${arrayOfAllJDKVersions[v]}${arrayOfUs[v]} - ${latestTimerPipeline}"

# Now grab a full list of builds launched by this pipeline.
listOfPipelineBuilds=$(wget -q -O - https://trss.adoptium.net/api/getAllChildBuilds?parentId=${latestTimerPipeline}&buildNameRegex=^jdk${arrayOfAllJDKVersions[v]}${arrayOfUs[v]}.*temurin$)
Expand All @@ -123,6 +124,8 @@ identifyFailedBuildsInTimerPipelines() {
listOfBuildResults+="${jsonEntry:15:-1}"
fi
done

"That pipeline's builds have been identified. Now validating them."

IFS=$oldIFS

Expand Down Expand Up @@ -150,6 +153,8 @@ identifyFailedBuildsInTimerPipelines() {
# If we get to this stage of the loop, then this is a platform that was both *meant* to be built, and *was* built (or attempted).
triageThesePlatforms+=",jdk${arrayOfAllJDKVersions[$v]}${arrayOfUs[$v]}\-${temurinPlatforms[$p]}\-temurin,"
done

echo "Platforms validated. Identifying build numbers for these platforms: ${triageThesePlatforms:1:-1}"

for b in "${!listOfBuildNames[@]}"
do
Expand All @@ -163,6 +168,7 @@ identifyFailedBuildsInTimerPipelines() {
fi
fi
done
echo "Build numbers found, and failures will be added to the array of builds to be triaged."
done
}

Expand Down

0 comments on commit bca0979

Please sign in to comment.