summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-12 17:56:53 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-12 17:56:53 +0200
commit2d6739a8ce7c7047930236fabe0e3a45d3233eb7 (patch)
tree90c3a249f1dadbd7f623a85d7a898db6df7a4c5c /bin/reproducible_maintenance.sh
parentea7ea2c1b2d29f5d2a834aa8abe7d20ca10a3bf6 (diff)
downloadjenkins.debian.net-2d6739a8ce7c7047930236fabe0e3a45d3233eb7.tar.xz
reproducible: skip updating schroots and pbuilder on jenkins
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 50be20b9..9b01ae0d 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -45,6 +45,10 @@ echo "$(date -u) - updating the schroots and pbuilder now..."
set +e
ARCH=$(dpkg --print-architecture)
for s in $SUITES ; do
+ if [ "$(hostname)" = "jenkins" ] ; then
+ echo "$(date -u) - nothing to do on $(hostname -f)..."
+ break
+ fi
if [ "$ARCH" = "armhf" ] && [ "$s" != "unstable" ] ; then
continue
fi