Skip to content

Commit

Permalink
Update Jenkins Build folder and I_unit_linux to use Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed Dec 16, 2024
1 parent 4d13a39 commit fdec30a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions JenkinsJobs/AutomatedTests/I_unit_linux.groovy
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
def config = new groovy.json.JsonSlurper().parseText(readFileFromWorkspace('JenkinsJobs/JobDSL.json'))
def STREAMS = config.Streams
def JAVA_VERSIONS = ['17', '21', '23']
def JAVA_VERSIONS = ['21', '23']

def BUILD_CONFIGURATIONS = [
[javaVersion: 17, javaHome: "tool(type:'jdk', name:'openjdk-jdk17-latest')" ],
[javaVersion: 21, javaHome: "tool(type:'jdk', name:'openjdk-jdk21-latest')" ],
[javaVersion: 23, javaHome: "installJDK('23', 'linux', 'x86_64', 'ea')" ]
]
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/I_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
}
}
tools {
jdk 'temurin-jdk17-latest'
jdk 'temurin-jdk21-latest'
}
environment {
MAVEN_OPTS = "-Xmx6G"
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/markStable.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ job('Builds/markStable'){
numToKeep(5)
}

jdk('openjdk-jdk17-latest')
jdk('temurin-jdk21-latest')

wrappers { //adds pre/post actions
timestamps()
Expand Down
2 changes: 1 addition & 1 deletion JenkinsJobs/Builds/markUnstable.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ job('Builds/markUnstable'){
numToKeep(5)
}

jdk('openjdk-jdk17-latest')
jdk('temurin-jdk21-latest')

wrappers { //adds pre/post actions
timestamps()
Expand Down

0 comments on commit fdec30a

Please sign in to comment.