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:
parent
c445c42518
commit
ed6eba7f4f
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue