summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-19 00:27:04 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-19 00:27:04 +0200
commit4b9ca5a62ef1e5ecc7d0cd74ac56311ec73a0f5c (patch)
treecf54579b5623e671d90d64004c4c7f2225f1f876 /bin/reproducible_common.sh
parentb7217b2fee47252c8ee083864ade33c339b5b6f3 (diff)
downloadjenkins.debian.net-4b9ca5a62ef1e5ecc7d0cd74ac56311ec73a0f5c.tar.xz
reproducible: add locking for reproducible schroot creation (which happens daily)
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 775033c7..f00a4797 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -100,6 +100,10 @@ elif [ ! -f ${PACKAGES_DB} ] ; then
EOF
fi
+# common variables
+DBDCHROOT_READLOCK=/var/lib/jenkins/reproducible-dbdchroot.readlock
+DBDCHROOT_WRITELOCK=/var/lib/jenkins/reproducible-dbdchroot.writelock
+
# shop trailing slash
JENKINS_URL=${JENKINS_URL:0:-1}