CI: show commit range in log

Also print range in the test report.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-05-03 12:52:05 -04:00 committed by Kumar Gala
commit ed6eba7f4f
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@ build:
ci:
- export CCACHE_DIR=${SHIPPABLE_BUILD_DIR}/ccache/.ccache
- export COMMIT_RANGE=${SHIPPABLE_COMMIT_RANGE}
- echo ${SHIPPABLE_COMMIT_RANGE}
- source zephyr-env.sh
- ccache -s --max-size=2000M
- make host-tools

View file

@ -19,7 +19,7 @@ def run_gitlint(tc):
msg = proc.stdout.read()
if msg != "":
failure = ET.SubElement(tc, 'failure', type="failure", message="commit message error")
failure = ET.SubElement(tc, 'failure', type="failure", message="commit message error on range: %s" %commit_range)
failure.text = (str(msg))
return 1