mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Also pipe stdout
This commit is contained in:
parent
68bcc826c5
commit
d11e9fdc2f
1 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ def download_unittest_reports(vm_name):
|
|||
cmd.format(vm_name),
|
||||
shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
stderr=subprocess.PIPE,
|
||||
stream_stds=True
|
||||
)
|
||||
proc.poll_and_read_until_finish()
|
||||
|
@ -118,6 +118,7 @@ def download_unittest_reports(vm_name):
|
|||
)
|
||||
)
|
||||
|
||||
|
||||
def download_coverage_report(vm_name):
|
||||
cmds = (
|
||||
'salt {0} cp.push /tmp/coverage.xml',
|
||||
|
@ -132,7 +133,7 @@ def download_coverage_report(vm_name):
|
|||
cmd.format(vm_name),
|
||||
shell=True,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
stderr=subprocess.PIPE,
|
||||
stream_stds=True
|
||||
)
|
||||
proc.poll_and_read_until_finish()
|
||||
|
@ -145,7 +146,6 @@ def download_coverage_report(vm_name):
|
|||
)
|
||||
|
||||
|
||||
|
||||
def run(opts):
|
||||
'''
|
||||
RUN!
|
||||
|
|
Loading…
Add table
Reference in a new issue