Skip to content

Commit b3a029d

Browse files
committed
Handle the xml unittest reports as a single, "chained" command.
1 parent d2bcd53 commit b3a029d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/jenkins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ def download_unittest_reports(options):
101101
cmds = (
102102
'salt {0} archive.tar zcvf /tmp/xml-test-reports.tar.gz \'*.xml\' cwd=/tmp/xml-unitests-output/',
103103
'salt {0} cp.push /tmp/xml-test-reports.tar.gz',
104-
'mv -f /var/cache/salt/master/minions/{0}/files/tmp/xml-test-reports.tar.gz {1}',
105-
'tar zxvf {1}/xml-test-reports.tar.gz -C {1}/xml-test-reports',
104+
'mv -f /var/cache/salt/master/minions/{0}/files/tmp/xml-test-reports.tar.gz {1} && '
105+
'tar zxvf {1}/xml-test-reports.tar.gz -C {1}/xml-test-reports && '
106106
'rm -f {1}/xml-test-reports.tar.gz'
107107
)
108108

0 commit comments

Comments
 (0)