From 9852ebbb68aa6ba8fd6e73d1001a85510182e728 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Sat, 27 Jul 2019 18:13:03 -0700 Subject: [PATCH] CI: list vms after clean up --- hack/jenkins/common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/jenkins/common.sh b/hack/jenkins/common.sh index 1c0c1a84f..2c26f4dff 100755 --- a/hack/jenkins/common.sh +++ b/hack/jenkins/common.sh @@ -130,6 +130,8 @@ if type -P virsh; then | awk '{ print $2 }' \ | xargs -I {} sh -c "virsh -c qemu:///system destroy {}; virsh -c qemu:///system undefine {}" \ || true + # list again after clean up + virsh -c qemu:///system list --all fi if type -P vboxmanage; then @@ -146,6 +148,8 @@ if type -P vboxmanage; then | cut -d'"' -f3 \ | xargs -I {} sh -c "vboxmanage startvm {} --type emergencystop; vboxmanage unregistervm {} --delete" \ || true + # list them again after clean up + vboxmanage list vms || true fi if type -P hdiutil; then -- GitLab