summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-11-01 15:12:08 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-01 15:12:08 +0100
commit7b0a58077f485c9169ba73590f05768b0e23744a (patch)
tree28b1d4d25c93318f61b69178d004d2b3248b32bd
parent7420684ef0f4a7ed0aec5c6341f3a6f15e9ebcda (diff)
downloadjenkins.debian.net-7b0a58077f485c9169ba73590f05768b0e23744a.tar.xz
d-i builds: cleanup after build
-rwxr-xr-xbin/d-i_build.sh2
-rwxr-xr-xbin/d-i_manual.sh2
2 files changed, 4 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
#
diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh
index 1a4d18a3..2a899b2e 100755
--- a/bin/d-i_manual.sh
+++ b/bin/d-i_manual.sh
@@ -15,6 +15,7 @@ clean_workspace() {
cd ..
rm -fv *.deb *.udeb *.dsc *_*.build *_*.changes *_*.tar.gz *_*.tar.bz2 *_*.tar.xz *_*.buildinfo
cd workspace
+ rm -rf html pdf
#
# git clone and pull is done by jenkins job
#
@@ -24,6 +25,7 @@ clean_workspace() {
elif [ -f .svn ] ; then
echo "svn status:"
svn status
+ svn stat --no-ignore
fi
echo
}