diff mbox series

gitlab-ci: log commit range in build test

Message ID 20190408101108.27976-1-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show
Series gitlab-ci: log commit range in build test | expand

Commit Message

Wei Liu April 8, 2019, 10:11 a.m. UTC
It is easier to debug stuff when the target range is clearly visible
at the top.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 automation/gitlab-ci/build-each-commit.sh | 2 ++
 1 file changed, 2 insertions(+)

Comments

Andrew Cooper April 8, 2019, 10:13 a.m. UTC | #1
On 08/04/2019 11:11, Wei Liu wrote:
> It is easier to debug stuff when the target range is clearly visible
> at the top.
>
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
diff mbox series

Patch

diff --git a/automation/gitlab-ci/build-each-commit.sh b/automation/gitlab-ci/build-each-commit.sh
index 6b7998448a..275bc71902 100755
--- a/automation/gitlab-ci/build-each-commit.sh
+++ b/automation/gitlab-ci/build-each-commit.sh
@@ -12,5 +12,7 @@  if [[ $? -ne 0 ]]; then
     exit 0
 fi
 
+echo "Building ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA}"
+
 NON_SYMBOLIC_REF=1 ./automation/scripts/build-test.sh ${CI_COMMIT_BEFORE_SHA} ${CI_COMMIT_SHA} \
     bash -c "make -j4 distclean && ./automation/scripts/build"