Skip to content

Commit

Permalink
Added the windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Sep 11, 2024
1 parent 8189db8 commit fc50011
Showing 1 changed file with 70 additions and 11 deletions.
81 changes: 70 additions & 11 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ pipeline {
booleanParam(name: 'sonarEnabled', defaultValue: false)
booleanParam(name: 'testsEnabled', defaultValue: true)
}

triggers {
cron('@weekly')
pollSCM('@daily')
Expand Down Expand Up @@ -64,60 +63,120 @@ pipeline {
}
}

stage('Build JDK 22') {
stage('Build JDK 22 Linux') {
tools {
jdk "jdk_22_latest"
}
steps {
echo 'Building JDK 22'
echo 'Building JDK 22 Linux'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 21') {
stage('Build JDK 21 Linux') {
tools {
jdk "jdk_21_latest"
}
steps {
echo 'Building JDK 21'
echo 'Building JDK 21 Linux'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 17') {
stage('Build JDK 17 Linux') {
tools {
jdk "jdk_17_latest"
}
steps {
echo 'Building JDK 17'
echo 'Building JDK 17 Linux'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 11') {
stage('Build JDK 11 Linux') {
tools {
jdk "jdk_11_latest"
}
steps {
echo 'Building JDK 11'
echo 'Building JDK 11 Linux'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 8') {
stage('Build JDK 8 Linux') {
tools {
jdk "jdk_1.8_latest"
}
steps {
echo 'Building JDK 8'
echo 'Building JDK 8 Linux'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 22 Windows') {
tools {
jdk "jdk_22_latest_windows"
}
steps {
echo 'Building JDK 22 Windows'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 21 Windows') {
tools {
jdk "jdk_21_latest_windows"
}
steps {
echo 'Building JDK 21 Windows'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 17 Windows') {
tools {
jdk "jdk_17_latest_windows"
}
steps {
echo 'Building JDK 17 Windows'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 11 Windows') {
tools {
jdk "jdk_11_latest_windows"
}
steps {
echo 'Building JDK 11 Windows'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
}
}

stage('Build JDK 8 Windows') {
tools {
jdk "jdk_1.8_latest_windows:"
}
steps {
echo 'Building JDK 8 Windows'
sh 'java -version'
sh 'mvn -version'
sh 'mvn clean install -Pserial'
Expand Down

0 comments on commit fc50011

Please sign in to comment.