@@ -36,7 +36,6 @@ pipeline {
36
36
booleanParam(name : ' sonarEnabled' , defaultValue : false )
37
37
booleanParam(name : ' testsEnabled' , defaultValue : true )
38
38
}
39
-
40
39
triggers {
41
40
cron(' @weekly' )
42
41
pollSCM(' @daily' )
@@ -64,60 +63,120 @@ pipeline {
64
63
}
65
64
}
66
65
67
- stage(' Build JDK 22' ) {
66
+ stage(' Build JDK 22 Linux ' ) {
68
67
tools {
69
68
jdk " jdk_22_latest"
70
69
}
71
70
steps {
72
- echo ' Building JDK 22'
71
+ echo ' Building JDK 22 Linux '
73
72
sh ' java -version'
74
73
sh ' mvn -version'
75
74
sh ' mvn clean install -Pserial'
76
75
}
77
76
}
78
77
79
- stage(' Build JDK 21' ) {
78
+ stage(' Build JDK 21 Linux ' ) {
80
79
tools {
81
80
jdk " jdk_21_latest"
82
81
}
83
82
steps {
84
- echo ' Building JDK 21'
83
+ echo ' Building JDK 21 Linux '
85
84
sh ' java -version'
86
85
sh ' mvn -version'
87
86
sh ' mvn clean install -Pserial'
88
87
}
89
88
}
90
89
91
- stage(' Build JDK 17' ) {
90
+ stage(' Build JDK 17 Linux ' ) {
92
91
tools {
93
92
jdk " jdk_17_latest"
94
93
}
95
94
steps {
96
- echo ' Building JDK 17'
95
+ echo ' Building JDK 17 Linux '
97
96
sh ' java -version'
98
97
sh ' mvn -version'
99
98
sh ' mvn clean install -Pserial'
100
99
}
101
100
}
102
101
103
- stage(' Build JDK 11' ) {
102
+ stage(' Build JDK 11 Linux ' ) {
104
103
tools {
105
104
jdk " jdk_11_latest"
106
105
}
107
106
steps {
108
- echo ' Building JDK 11'
107
+ echo ' Building JDK 11 Linux '
109
108
sh ' java -version'
110
109
sh ' mvn -version'
111
110
sh ' mvn clean install -Pserial'
112
111
}
113
112
}
114
113
115
- stage(' Build JDK 8' ) {
114
+ stage(' Build JDK 8 Linux ' ) {
116
115
tools {
117
116
jdk " jdk_1.8_latest"
118
117
}
119
118
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'
121
180
sh ' java -version'
122
181
sh ' mvn -version'
123
182
sh ' mvn clean install -Pserial'
0 commit comments