If build.py throws, actually print stdout. Also run jenkins.sh in verbose mode.
This commit is contained in:
parent
dffe9b3e4c
commit
7805ca87df
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue