Skip to content

Commit

Permalink
Removed Java 8 build as Mockito requires Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Sep 15, 2024
1 parent dd4cf26 commit 227277f
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pipeline {

parameters {
choice(name: 'nodeLabel', choices: ['ubuntu', 'arm', 'Windows'])
choice(name: 'jdkVersion', choices: ['jdk_1.8_latest', 'jdk_11_latest', 'jdk_17_latest', 'jdk_21_latest', 'jdk_22_latest', 'jdk_1.8_latest_windows', 'jdk_11_latest_windows', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_22_latest_windows'])
choice(name: 'jdkVersion', choices: ['jdk_11_latest', 'jdk_17_latest', 'jdk_21_latest', 'jdk_22_latest', 'jdk_11_latest_windows', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_22_latest_windows'])
booleanParam(name: 'deployEnabled', defaultValue: false)
booleanParam(name: 'sonarEnabled', defaultValue: false)
booleanParam(name: 'testsEnabled', defaultValue: true)
Expand Down Expand Up @@ -116,19 +116,8 @@ pipeline {
}
}

stage('Build JDK 8 Linux') {
tools {
jdk "jdk_1.8_latest"
}
steps {
echo 'Building JDK 8 Linux'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}
/*--- Comment out Windows builds for the moment ---*/
/*
/*--- Comment out Windows builds for the moment ---*/
/*
stage('Build JDK 22 Windows') {
tools {
jdk "jdk_22_latest_windows"
Expand Down Expand Up @@ -188,6 +177,6 @@ pipeline {
sh 'mvn clean install -Pserial'
}
}
---*/
---*/
}
}

0 comments on commit 227277f

Please sign in to comment.