[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: only create db on jenkins
Holger Levsen
holger at moszumanska.debian.org
Tue Aug 4 11:49:50 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 d4134b4ffcabcc9e3c16c8656e9838dc3c136403
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Aug 4 13:48:44 2015 +0200
reproducible: only create db on jenkins
---
bin/reproducible_common.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index e7e4a37..569cb56 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -23,7 +23,7 @@ if [ -f $PACKAGES_DB ] && [ -f $INIT ] ; then
exit 1
fi
fi
-elif [ ! -f ${PACKAGES_DB} ] ; then
+elif [ ! -f ${PACKAGES_DB} ] && [ "$HOSTNAME" = "jenkins" ] ; then
echo "Warning: $PACKAGES_DB doesn't exist, creating it now."
/srv/jenkins/bin/reproducible_db_maintenance.py
# 60 seconds timeout when trying to get a lock
--
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