From 496d27dcfbfb8a69152b62947589f28f4922b8b2 Mon Sep 17 00:00:00 2001 From: Andrew Leonard Date: Fri, 1 Mar 2024 13:28:50 +0000 Subject: [PATCH 1/2] Daily status jdk(tip) missing tag age Signed-off-by: Andrew Leonard --- tools/nightly_build_and_test_stats.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/nightly_build_and_test_stats.groovy b/tools/nightly_build_and_test_stats.groovy index 4e1e48767..32a07005e 100644 --- a/tools/nightly_build_and_test_stats.groovy +++ b/tools/nightly_build_and_test_stats.groovy @@ -353,7 +353,7 @@ node('worker') { def latestOpenjdkBuild = getLatestOpenjdkBuildTag("jdk") def tipVersion = tipRelease.replaceAll("u", "").replaceAll("jdk", "").toInteger() def releaseName = getLatestBinariesTag("${tipVersion}") - status = [releaseName: releaseName, expectedReleaseName: "${latestOpenjdkBuild}-ea-beta"] + status = [releaseName: releaseName, expectedReleaseName: "${latestOpenjdkBuild}-ea-beta", upstreamTag: latestOpenjdkBuild] verifyReleaseContent(tipRelease, releaseName, variant, status) echo " ${tipRelease} release binaries verification: "+status['assets'] healthStatus[tipRelease] = status @@ -568,7 +568,7 @@ node('worker') { } // Slack message: - slackSend(channel: slackChannel, color: statusColor, message: 'Adoptium last 7 days Overall Build Success Rating : *' + variant + '* => *' + overallNightlySuccessRating + '* %\n Build Job Rating: ' + totalBuildJobs + ' jobs (' + nightlyBuildSuccessRating.intValue() + '%) Test Job Rating: ' + totalTestJobs + ' jobs (' + nightlyTestSuccessRating.intValue() + '%) <' + BUILD_URL + '/console|Detail>') + //slackSend(channel: slackChannel, color: statusColor, message: 'Adoptium last 7 days Overall Build Success Rating : *' + variant + '* => *' + overallNightlySuccessRating + '* %\n Build Job Rating: ' + totalBuildJobs + ' jobs (' + nightlyBuildSuccessRating.intValue() + '%) Test Job Rating: ' + totalTestJobs + ' jobs (' + nightlyTestSuccessRating.intValue() + '%) <' + BUILD_URL + '/console|Detail>') echo 'Adoptium last 7 days Overall Build Success Rating : *' + variant + '* => *' + overallNightlySuccessRating + '* %\n Build Job Rating: ' + totalBuildJobs + ' jobs (' + nightlyBuildSuccessRating.intValue() + '%) Test Job Rating: ' + totalTestJobs + ' jobs (' + nightlyTestSuccessRating.intValue() + '%) <' + BUILD_URL + '/console|Detail>' } @@ -673,7 +673,7 @@ node('worker') { def releaseLink = "<" + status['assetsUrl'] + "|${releaseName}>" def fullMessage = "${featureRelease} latest pipeline publish status: *${health}*. Build: ${releaseLink}.${lastPublishedMsg}${errorMsg}${missingMsg}" echo "===> ${fullMessage}" - slackSend(channel: slackChannel, color: slackColor, message: fullMessage) + //slackSend(channel: slackChannel, color: slackColor, message: fullMessage) } echo '----------------------------------------------------------------' } From d02057e2ea7fe423d0b0c08e389eb1afa899a629 Mon Sep 17 00:00:00 2001 From: Andrew Leonard Date: Fri, 1 Mar 2024 13:29:18 +0000 Subject: [PATCH 2/2] Daily status jdk(tip) missing tag age Signed-off-by: Andrew Leonard --- tools/nightly_build_and_test_stats.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/nightly_build_and_test_stats.groovy b/tools/nightly_build_and_test_stats.groovy index 32a07005e..3bac4f83e 100644 --- a/tools/nightly_build_and_test_stats.groovy +++ b/tools/nightly_build_and_test_stats.groovy @@ -568,7 +568,7 @@ node('worker') { } // Slack message: - //slackSend(channel: slackChannel, color: statusColor, message: 'Adoptium last 7 days Overall Build Success Rating : *' + variant + '* => *' + overallNightlySuccessRating + '* %\n Build Job Rating: ' + totalBuildJobs + ' jobs (' + nightlyBuildSuccessRating.intValue() + '%) Test Job Rating: ' + totalTestJobs + ' jobs (' + nightlyTestSuccessRating.intValue() + '%) <' + BUILD_URL + '/console|Detail>') + slackSend(channel: slackChannel, color: statusColor, message: 'Adoptium last 7 days Overall Build Success Rating : *' + variant + '* => *' + overallNightlySuccessRating + '* %\n Build Job Rating: ' + totalBuildJobs + ' jobs (' + nightlyBuildSuccessRating.intValue() + '%) Test Job Rating: ' + totalTestJobs + ' jobs (' + nightlyTestSuccessRating.intValue() + '%) <' + BUILD_URL + '/console|Detail>') echo 'Adoptium last 7 days Overall Build Success Rating : *' + variant + '* => *' + overallNightlySuccessRating + '* %\n Build Job Rating: ' + totalBuildJobs + ' jobs (' + nightlyBuildSuccessRating.intValue() + '%) Test Job Rating: ' + totalTestJobs + ' jobs (' + nightlyTestSuccessRating.intValue() + '%) <' + BUILD_URL + '/console|Detail>' } @@ -673,7 +673,7 @@ node('worker') { def releaseLink = "<" + status['assetsUrl'] + "|${releaseName}>" def fullMessage = "${featureRelease} latest pipeline publish status: *${health}*. Build: ${releaseLink}.${lastPublishedMsg}${errorMsg}${missingMsg}" echo "===> ${fullMessage}" - //slackSend(channel: slackChannel, color: slackColor, message: fullMessage) + slackSend(channel: slackChannel, color: slackColor, message: fullMessage) } echo '----------------------------------------------------------------' }