summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPo-Hsu Lin <po-hsu.lin@canonical.com>2014-06-20 18:19:40 +0800
committerPo-Hsu Lin <po-hsu.lin@canonical.com>2014-06-20 18:19:40 +0800
commite83e1b6cd3f4be12297c800af60ad8520d79195c (patch)
tree6d8172f007a978afdc315b70c4fcecc61e1f4842 /jobs
parent2b00537416371a78298684d7638d4155f6d8b19c (diff)
power-management.txt.in: explicitly assign the .gz file path to solve the attachment issue
Diffstat (limited to 'jobs')
-rw-r--r--jobs/power-management.txt.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/power-management.txt.in b/jobs/power-management.txt.in
index 897e491..5b2a0ba 100644
--- a/jobs/power-management.txt.in
+++ b/jobs/power-management.txt.in
@@ -53,7 +53,7 @@ _description:
plugin: attachment
id: power-management/poweroff-log-attach
-command: tar cvfz power-management_poweroff.tgz $PLAINBOX_SESSION_SHARE/*poweroff.1.log && cat $PLAINBOX_SESSION_SHARE/power-management_poweroff.tgz
+command: tar cvfz ${PLAINBOX_SESSION_SHARE}/power-management_poweroff.tgz ${PLAINBOX_SESSION_SHARE}/*poweroff.1.log && cat ${PLAINBOX_SESSION_SHARE}/power-management_poweroff.tgz
_description:
This will attach any logs from the power-management/poweroff test to the results.
@@ -78,7 +78,7 @@ _description:
plugin: attachment
id: power-management/reboot-log-attach
-command: tar cvfz power-management_reboot.tgz $PLAINBOX_SESSION_SHARE/*reboot.1.log && cat $PLAINBOX_SESSION_SHARE/power-management_reboot.tgz
+command: tar cvfz ${PLAINBOX_SESSION_SHARE}/power-management_reboot.tgz ${PLAINBOX_SESSION_SHARE}/*reboot.1.log && cat ${PLAINBOX_SESSION_SHARE}/power-management_reboot.tgz
_description:
This will attach any logs from the power-management/reboot test to the results.