If build.py throws, actually print stdout. Also run jenkins.sh in verbose mode.

This commit is contained in:
Kegan Dougal 2015-10-07 10:34:29 +01:00
parent dffe9b3e4c
commit 7805ca87df
2 changed files with 2 additions and 1 deletions

View file

@ -261,6 +261,7 @@ def run_through_template(input, set_verbose):
cwd="../templating"
)
except subprocess.CalledProcessError as e:
print e.output
with open(tmpfile, 'r') as f:
sys.stderr.write(f.read() + "\n")
raise