Skip to content

Commit fc50011

Browse files
committed
Added the windows builds
1 parent 8189db8 commit fc50011

File tree

1 file changed

+70
-11
lines changed

1 file changed

+70
-11
lines changed

Jenkinsfile

+70-11
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ pipeline {
3636
booleanParam(name: 'sonarEnabled', defaultValue: false)
3737
booleanParam(name: 'testsEnabled', defaultValue: true)
3838
}
39-
4039
triggers {
4140
cron('@weekly')
4241
pollSCM('@daily')
@@ -64,60 +63,120 @@ pipeline {
6463
}
6564
}
6665

67-
stage('Build JDK 22') {
66+
stage('Build JDK 22 Linux') {
6867
tools {
6968
jdk "jdk_22_latest"
7069
}
7170
steps {
72-
echo 'Building JDK 22'
71+
echo 'Building JDK 22 Linux'
7372
sh 'java -version'
7473
sh 'mvn -version'
7574
sh 'mvn clean install -Pserial'
7675
}
7776
}
7877

79-
stage('Build JDK 21') {
78+
stage('Build JDK 21 Linux') {
8079
tools {
8180
jdk "jdk_21_latest"
8281
}
8382
steps {
84-
echo 'Building JDK 21'
83+
echo 'Building JDK 21 Linux'
8584
sh 'java -version'
8685
sh 'mvn -version'
8786
sh 'mvn clean install -Pserial'
8887
}
8988
}
9089

91-
stage('Build JDK 17') {
90+
stage('Build JDK 17 Linux') {
9291
tools {
9392
jdk "jdk_17_latest"
9493
}
9594
steps {
96-
echo 'Building JDK 17'
95+
echo 'Building JDK 17 Linux'
9796
sh 'java -version'
9897
sh 'mvn -version'
9998
sh 'mvn clean install -Pserial'
10099
}
101100
}
102101

103-
stage('Build JDK 11') {
102+
stage('Build JDK 11 Linux') {
104103
tools {
105104
jdk "jdk_11_latest"
106105
}
107106
steps {
108-
echo 'Building JDK 11'
107+
echo 'Building JDK 11 Linux'
109108
sh 'java -version'
110109
sh 'mvn -version'
111110
sh 'mvn clean install -Pserial'
112111
}
113112
}
114113

115-
stage('Build JDK 8') {
114+
stage('Build JDK 8 Linux') {
116115
tools {
117116
jdk "jdk_1.8_latest"
118117
}
119118
steps {
120-
echo 'Building JDK 8'
119+
echo 'Building JDK 8 Linux'
120+
sh 'java -version'
121+
sh 'mvn -version'
122+
sh 'mvn clean install -Pserial'
123+
}
124+
}
125+
126+
stage('Build JDK 22 Windows') {
127+
tools {
128+
jdk "jdk_22_latest_windows"
129+
}
130+
steps {
131+
echo 'Building JDK 22 Windows'
132+
sh 'java -version'
133+
sh 'mvn -version'
134+
sh 'mvn clean install -Pserial'
135+
}
136+
}
137+
138+
stage('Build JDK 21 Windows') {
139+
tools {
140+
jdk "jdk_21_latest_windows"
141+
}
142+
steps {
143+
echo 'Building JDK 21 Windows'
144+
sh 'java -version'
145+
sh 'mvn -version'
146+
sh 'mvn clean install -Pserial'
147+
}
148+
}
149+
150+
stage('Build JDK 17 Windows') {
151+
tools {
152+
jdk "jdk_17_latest_windows"
153+
}
154+
steps {
155+
echo 'Building JDK 17 Windows'
156+
sh 'java -version'
157+
sh 'mvn -version'
158+
sh 'mvn clean install -Pserial'
159+
}
160+
}
161+
162+
stage('Build JDK 11 Windows') {
163+
tools {
164+
jdk "jdk_11_latest_windows"
165+
}
166+
steps {
167+
echo 'Building JDK 11 Windows'
168+
sh 'java -version'
169+
sh 'mvn -version'
170+
sh 'mvn clean install -Pserial'
171+
}
172+
}
173+
174+
stage('Build JDK 8 Windows') {
175+
tools {
176+
jdk "jdk_1.8_latest_windows:"
177+
}
178+
steps {
179+
echo 'Building JDK 8 Windows'
121180
sh 'java -version'
122181
sh 'mvn -version'
123182
sh 'mvn clean install -Pserial'

0 commit comments

Comments
 (0)