Bug 2129: Fix logic to always delete VM 15/12415/1
authorMark Beierl <mark.beierl@canonical.com>
Fri, 29 Jul 2022 16:46:18 +0000 (12:46 -0400)
committerMark Beierl <mark.beierl@canonical.com>
Fri, 29 Jul 2022 16:46:18 +0000 (12:46 -0400)
commite0f5743b3e1372f5ca96b21a986f6a319ca9fd7d
treeb7a02339fea10844eeac0d6bb3207e0b342e0790
parent38e4926c6f1d56df6690c8e3689a0e4bf1ce716a
Bug 2129: Fix logic to always delete VM

Puts the step to extract the container logs into a try/catch block
so that the logic to delete the VM and stop the apache container
will always execute, instead of leaving them behind on error.

Fixes bug 2129

Change-Id: If252670b5374f1665f0e8b649b9fbc16c1ff2705
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
jenkins/ci-pipelines/ci_stage_3.groovy