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

pull/977/head
Kegan Dougal 9 years ago
parent dffe9b3e4c
commit 7805ca87df

@ -4,6 +4,6 @@ set -ex
(cd event-schemas/ && ./check_examples.py) (cd event-schemas/ && ./check_examples.py)
(cd api && ./check_examples.py) (cd api && ./check_examples.py)
(cd scripts && ./gendoc.py) (cd scripts && ./gendoc.py -v)
(cd api && npm install && node validator.js -s "client-server/v1" && node validator.js -s "client-server/v2_alpha") (cd api && npm install && node validator.js -s "client-server/v1" && node validator.js -s "client-server/v2_alpha")
(cd event-schemas/ && ./check.sh) (cd event-schemas/ && ./check.sh)

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

Loading…
Cancel
Save