Commit 0361263
committed
vSphereCloudLauncher enhancement
vSphereCloudLauncher no longer connects to vSphere when its "idleAction" is
"nothing". It still connects as normal if it needs to, it just doesn't bother
connecting when it's not going to use the connection.
It also now calls VSphere's disconnect method from a finally {...} block to
ensure that it will always disconnect from vSphere if it had previously
connected; before, it could remain connected if exceptions happened.1 parent 5b0ea26 commit 0361263
File tree
1 file changed
+15
-8
lines changed- src/main/java/org/jenkinsci/plugins
1 file changed
+15
-8
lines changedLines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | 296 | | |
298 | 297 | | |
299 | 298 | | |
300 | 299 | | |
301 | | - | |
| 300 | + | |
| 301 | + | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
306 | 311 | | |
307 | 312 | | |
308 | 313 | | |
| |||
340 | 345 | | |
341 | 346 | | |
342 | 347 | | |
343 | | - | |
344 | | - | |
345 | | - | |
| 348 | + | |
346 | 349 | | |
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
350 | 357 | | |
351 | 358 | | |
352 | 359 | | |
| |||
0 commit comments