Skip to content

Commit 094c6fd

Browse files
authored
Update Nightly Cleanup to Java21 (#2938)
1 parent 63220a5 commit 094c6fd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

JenkinsJobs/Cleanup/pruneDailyRepos.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and other such scripts.
1212
numToKeep(5)
1313
}
1414

15+
jdk('temurin-jdk21-latest')
1516

1617
label('basic')
1718

cje-production/cleaners/cleanupNightlyRepo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function cleanRepo ()
159159
echo -e "\t${eclipseexe}"
160160
exit 1
161161
fi
162-
javaexe=/opt/public/common/java/openjdk/jdk-17_x64-latest/bin/java
162+
javaexe=${JAVA_HOME}/bin/java
163163
if [[ ! -x ${javaexe} ]]
164164
then
165165
echo -e "\n\tERROR: expected java location not found, or not executable"

0 commit comments

Comments
 (0)