From 7805ca87dff536d98ec7de16f5dfc94d45680028 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 7 Oct 2015 10:34:29 +0100 Subject: [PATCH] If build.py throws, actually print stdout. Also run jenkins.sh in verbose mode. --- jenkins.sh | 2 +- scripts/gendoc.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins.sh b/jenkins.sh index 0936de9d..0b217e58 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -4,6 +4,6 @@ set -ex (cd event-schemas/ && ./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 event-schemas/ && ./check.sh) diff --git a/scripts/gendoc.py b/scripts/gendoc.py index 1655d6f0..8db604c4 100755 --- a/scripts/gendoc.py +++ b/scripts/gendoc.py @@ -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