Merge lp:~heber013/qa-jenkins-jobs/fix-destroy-vm-ust into lp:qa-jenkins-jobs

Proposed by Heber Parrucci
Status: Merged
Approved by: Jean-Baptiste Lallement
Approved revision: 287
Merged at revision: 287
Proposed branch: lp:~heber013/qa-jenkins-jobs/fix-destroy-vm-ust
Merge into: lp:qa-jenkins-jobs
Diff against target: 11 lines (+1/-1)
1 file modified
jobs/ubuntu-system-tests/ubuntu-system-tests-run-tests-builder.sh (+1/-1)
To merge this branch: bzr merge lp:~heber013/qa-jenkins-jobs/fix-destroy-vm-ust
Reviewer Review Type Date Requested Status
Jean-Baptiste Lallement Approve
platform-qa-bot continuous-integration Approve
Review via email: mp+329740@code.launchpad.net

Commit message

Fix when destroying VM in UST

Description of the change

Fix when destroying VM in UST

To post a comment you must log in.
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

ok, thank!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/ubuntu-system-tests/ubuntu-system-tests-run-tests-builder.sh'
2--- jobs/ubuntu-system-tests/ubuntu-system-tests-run-tests-builder.sh 2017-08-24 14:21:32 +0000
3+++ jobs/ubuntu-system-tests/ubuntu-system-tests-run-tests-builder.sh 2017-08-28 15:12:52 +0000
4@@ -12,7 +12,7 @@
5 echo "I: Cleaning disk image file"
6 if [ "$CLEAN_DISK_IMG_AFTER_RUN" == "true" ]; then
7 echo "I: Cleaning disk image file"
8- [ -f "$SHARED_IMG_PATH" ] && delete_vm $(basename "$SHARED_IMG_PATH") || sudo rm -f "$SHARED_IMG_PATH"
9+ [ -f "$SHARED_IMG_PATH" ] && delete_vm $(basename $(dirname "$SHARED_IMG_PATH")) || sudo rm -f "$SHARED_IMG_PATH"
10 fi
11 }
12

Subscribers

People subscribed via source and target branches

to all changes: