Skip to content

Commit ed6eba7

Browse files
nashifgalak
authored andcommitted
CI: show commit range in log
Also print range in the test report. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent c445c42 commit ed6eba7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.shippable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ build:
2727
ci:
2828
- export CCACHE_DIR=${SHIPPABLE_BUILD_DIR}/ccache/.ccache
2929
- export COMMIT_RANGE=${SHIPPABLE_COMMIT_RANGE}
30+
- echo ${SHIPPABLE_COMMIT_RANGE}
3031
- source zephyr-env.sh
3132
- ccache -s --max-size=2000M
3233
- make host-tools

scripts/ci/check-compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def run_gitlint(tc):
1919
msg = proc.stdout.read()
2020

2121
if msg != "":
22-
failure = ET.SubElement(tc, 'failure', type="failure", message="commit message error")
22+
failure = ET.SubElement(tc, 'failure', type="failure", message="commit message error on range: %s" %commit_range)
2323
failure.text = (str(msg))
2424
return 1
2525

0 commit comments

Comments
 (0)