[Qa-jenkins-scm] [jenkins.debian.net] 02/03: reproducible: only update existing schroots
Holger Levsen
holger at moszumanska.debian.org
Wed Oct 14 00:14:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit efba4df20bf350d668ac6982ee3dc9fd84e90a96
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Oct 14 02:11:20 2015 +0200
reproducible: only update existing schroots
---
bin/reproducible_maintenance.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 49c145a..ae9b85c 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -53,7 +53,7 @@ for s in $SUITES ; do
#
echo "$(date -u) - updating the $s/$ARCH schroot now."
for i in 1 2 3 4 ; do
- schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update
+ [ ! -d $SCHROOT_BASE/reproducible-$s ] || schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update
RESULT=$?
if [ $RESULT -eq 1 ] ; then
# sleep 61-120 secs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list