Skip to content

Commit

Permalink
Currently only jdk-22 is build tag triggered
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Nov 2, 2023
1 parent 26b8069 commit 93610b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/nightly_build_and_test_stats.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ node('worker') {
// In particular, look at first data set for latest published binaries.
// If no published assets happened the last 4 days, the nightly pipeline
// is considered unhealthy.
// For tag triggered versions (jdk-21+) check the binary is published
// For tag triggered versions (jdk-22+) check the binary is published
// The release asset list is also verified
featureReleases.each { featureRelease ->
def featureReleaseInt = featureRelease.replaceAll("u", "").replaceAll("jdk", "").toInteger()
Expand All @@ -217,7 +217,7 @@ node('worker') {
while(!foundNonEvaluationBinaries && i < assetsJson.size()) {
def releaseName = assetsJson[i].release_name
def status = []
if (featureReleaseInt < 21) {
if (featureReleaseInt < 22) {
def ts = assetsJson[i].timestamp // newest timestamp of a jdk asset
def assetTs = Instant.parse(ts).atZone(ZoneId.of('UTC'))
def now = ZonedDateTime.now(ZoneId.of('UTC'))
Expand Down Expand Up @@ -489,8 +489,8 @@ echo 'Adoptium Latest Builds Success : *' + variant + '* => *' + overallNightlyS
def releaseName = status['releaseName']
def lastPublishedMsg = ""

// jdk-21+ are latest tag triggered builds
if (featureReleaseInt < 21) {
// jdk-22+ are latest tag triggered builds
if (featureReleaseInt < 22) {
// Check for stale published build
def days = status['actualDays'] as int
lastPublishedMsg = "\nPublished: ${days} day(s) ago." // might actually be days + N hours, where N < 24
Expand Down

0 comments on commit 93610b4

Please sign in to comment.