summaryrefslogtreecommitdiffstats
path: root/bin/d-i_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/d-i_build.sh')
-rwxr-xr-xbin/d-i_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index c92b880a..fd27c9f8 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -15,6 +15,8 @@ clean_workspace() {
cd ..
rm -fv *.deb *.udeb *.dsc *_*.build *_*.changes *_*.tar.gz *_*.tar.bz2 *_*.tar.xz *_*.buildinfo
cd workspace
+ git clean -dfx
+ git reset --hard
#
# git clone and pull is done by jenkins job
#