From: Wei Liu Date: Mon, 8 Apr 2019 11:50:31 +0000 (+0100) Subject: gitlab-ci: use git clean -ffdx in build each commit test X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=072a96c4901b4cb084375d0a4ae881876c220b16;p=people%2Froyger%2Fxen.git gitlab-ci: use git clean -ffdx in build each commit test The build script invoked is designed to run in a pristine checkout. Signed-off-by: Wei Liu Acked-by: Doug Goldstein --- diff --git a/automation/gitlab-ci/build-each-commit.sh b/automation/gitlab-ci/build-each-commit.sh index 275bc71902..879028b5a7 100755 --- a/automation/gitlab-ci/build-each-commit.sh +++ b/automation/gitlab-ci/build-each-commit.sh @@ -15,4 +15,4 @@ 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" + bash -c "git clean -ffdx && ./automation/scripts/build"