Repository navigation
Commit e5fb8e9
build(ci): test once on JDK 17 in Jenkins, reserve Jetty ports for the showcase ITs (#1967)
Jenkins ran the suite on JDK 21 and again on JDK 17 with -Pcoverage,
then re-compiled the tree three more times for install, deploy and the
nightlies. GitHub Actions already covers JDK 17, 21, 25 and the Jakarta
EE 11 profile, and the JaCoCo data had no consumer on Jenkins. Jenkins
now runs one verify on JDK 17 and keeps only what GitHub cannot do: the
snapshot deploy and the nightlies upload. The deploy also passes
-DskipITs: failsafe 3.6.0 has no skipTests parameter, so the showcase
integration tests were booting Jetty on every "skipped" invocation. The
nightlies step builds only the assembly module; the preceding deploy has
already installed every other module and the descriptors read the
sibling target/ directories of the same workspace.
The old "Build Source & JavaDoc" stage ran in its own Maven session, so
its jars were never attached to the deploy; the snapshot repository has
only the main jar and pom. Dropping it changes nothing that is
published.
The showcase integration tests bound Jetty to a fixed 8090/8999.
disableConcurrentBuilds() serialises only builds of the same branch
job, so main and a pull request landing on one agent collided, and the
pre-start "stop" goal with the shared stop key could shut down the
neighbouring build's server. build-helper now reserves free ports for
the start/stop executions; the plugin-level 8090/8999 stay in place for
an interactive jetty:run. The port properties are deliberately not
declared under <properties>: a declared property is interpolated into
plugin configuration at model-build time, before build-helper runs, and
the default would win everywhere.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent c407f7f commit e5fb8e9
2 files changed
Lines changed: 64 additions & 81 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| |||
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
103 | 97 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 98 | + | |
| 99 | + | |
139 | 100 | | |
140 | | - | |
141 | | - | |
142 | 101 | | |
143 | | - | |
| 102 | + | |
144 | 103 | | |
145 | 104 | | |
146 | 105 | | |
| |||
149 | 108 | | |
150 | 109 | | |
151 | 110 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 111 | + | |
| 112 | + | |
166 | 113 | | |
167 | 114 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
171 | 121 | | |
172 | 122 | | |
173 | 123 | | |
174 | 124 | | |
175 | | - | |
| 125 | + | |
176 | 126 | | |
177 | 127 | | |
178 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
179 | 132 | | |
180 | 133 | | |
181 | | - | |
182 | | - | |
183 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
184 | 140 | | |
185 | 141 | | |
186 | 142 | | |
187 | | - | |
| 143 | + | |
188 | 144 | | |
189 | 145 | | |
190 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
251 | 271 | | |
252 | 272 | | |
253 | 273 | | |
| |||
279 | 299 | | |
280 | 300 | | |
281 | 301 | | |
282 | | - | |
283 | | - | |
284 | 302 | | |
285 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
286 | 310 | | |
287 | 311 | | |
288 | 312 | | |
289 | 313 | | |
290 | 314 | | |
291 | 315 | | |
292 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
293 | 320 | | |
294 | 321 | | |
295 | 322 | | |
| |||
0 commit comments