diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-12 17:56:53 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-12 17:56:53 +0200 |
commit | 2d6739a8ce7c7047930236fabe0e3a45d3233eb7 (patch) | |
tree | 90c3a249f1dadbd7f623a85d7a898db6df7a4c5c /bin | |
parent | ea7ea2c1b2d29f5d2a834aa8abe7d20ca10a3bf6 (diff) | |
download | jenkins.debian.net-2d6739a8ce7c7047930236fabe0e3a45d3233eb7.tar.xz |
reproducible: skip updating schroots and pbuilder on jenkins
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 4 |
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 |