Sync up run-jjb.py with the staging one
The staging one dumps debug log which is
useful for knowing the issue
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: I9db509b4f98eb75ba08858f9ac42c57ade3b3cf1
diff --git a/ci/run-jjb.py b/ci/run-jjb.py
index 731ab18..c003b53 100755
--- a/ci/run-jjb.py
+++ b/ci/run-jjb.py
@@ -115,11 +115,11 @@
with open('template.yaml', 'w') as f:
f.write(buffer)
try:
- proc = subprocess.run(jjb_args, capture_output=True)
+ proc = subprocess.run(jjb_args)
except (OSError, ValueError) as e:
raise ValueError("%s" % e)
- data = proc.stdout.decode()
+ #data = proc.stdout.decode()
if proc.returncode != 0:
raise ValueError("command has failed with code '%s'" % proc.returncode)