summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/cron.daily
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-27 14:31:57 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-27 14:31:57 +0200
commit315ead533e3d4e67ce3908a13ebe5b75ef9060c4 (patch)
treeb13a53cbace131ef2afedbd7697f724f9e674c0d /hosts/jenkins/etc/cron.daily
parent16a5099a82e9c12322e7bea561a5f43448b013d4 (diff)
downloadjenkins.debian.net-315ead533e3d4e67ce3908a13ebe5b75ef9060c4.tar.xz
move etc to hosts/jenkins/etc
Diffstat (limited to 'hosts/jenkins/etc/cron.daily')
-rwxr-xr-xhosts/jenkins/etc/cron.daily/jenkins8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/cron.daily/jenkins b/hosts/jenkins/etc/cron.daily/jenkins
new file mode 100755
index 00000000..47e52f9b
--- /dev/null
+++ b/hosts/jenkins/etc/cron.daily/jenkins
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# this is needed as this IP address has to be hardcoded in /etc/apache2/sites-available/jenkins.debian.net
+
+if [ "$(host git.debian.org|head -1)" != "git.debian.org has address 5.153.231.21" ] ; then
+ echo "IP address of git.debian.org has changed, please update etc/apache2/sites-available/jenkins.debian.net and etc/cron.daily/jenkins in jenkins.debian.net.git"
+ host git.debian.org
+fi