diff options
Diffstat (limited to 'hosts/jenkins/etc/cron.daily')
-rwxr-xr-x | hosts/jenkins/etc/cron.daily/jenkins | 8 |
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 |