jjb: xci: xci-verify-jobs: Fix XCI VM names 45/43045/1
authorMarkos Chandras <mchandras@suse.de>
Mon, 25 Sep 2017 20:04:36 +0000 (21:04 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 25 Sep 2017 20:04:36 +0000 (21:04 +0100)
The XCI script now uses more accurate VM names, so replace
the VM name in the destroy job as well.

Change-Id: Ia4c8ea204ecaa6ae765ce67aff3923dabab6d5f0
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/xci-verify-jobs.yml

index efc8995..aac89f2 100644 (file)
                 exit 0
             fi
 
-            sudo virsh destroy $DISTRO
-            sudo virsh undefine $DISTRO
+            sudo virsh destroy ${DISTRO}_xci_vm
+            sudo virsh undefine ${DISTRO}_xci_vm
 
 # this will be enabled once the xci is prepared
 #- builder: