gitlab-ci: log commit range in build test

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>
This commit is contained in:
Wei Liu committed 2019-04-08 11:31:28 +01:00
1 parent a41feccdb6
commit 7a01cfaeb0
1 file changed
+2
@@ -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"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.