summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-11 23:20:42 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-11 23:20:42 +0100
commitf1f7d6d5d64e6c458cacbf45711c056451c419b3 (patch)
tree84cfbd7488051d0636ef8b0bccd9d0096d604940
parent9f61d10dc52b8b2a2b9304c7a40147c8191f48dd (diff)
downloadjenkins.debian.net-f1f7d6d5d64e6c458cacbf45711c056451c419b3.tar.xz
split webcheck of www.debian.org into 3 jobs
-rwxr-xr-xbin/webcheck_url.sh7
-rw-r--r--job-cfg/webcheck.yaml18
2 files changed, 24 insertions, 1 deletions
diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh
index fc7e011b..537ee90c 100755
--- a/bin/webcheck_url.sh
+++ b/bin/webcheck_url.sh
@@ -26,6 +26,13 @@ else
fi
#
+# if $1 ends with / then run webcheck with -b
+#
+if [ "${1: -1}" = "/" ] ; then
+ PARAMS="$PARAMS -b"
+fi
+
+#
# $2 can only by used to ignore pattern atm
#
if [ "$2" != "" ] ; then
diff --git a/job-cfg/webcheck.yaml b/job-cfg/webcheck.yaml
index 663ec1fb..5b5061ca 100644
--- a/job-cfg/webcheck.yaml
+++ b/job-cfg/webcheck.yaml
@@ -41,6 +41,14 @@
- job-template:
defaults: webcheck
+ name: '{name}_www_debian_org_security'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_www_debian_org_news'
+
+- job-template:
+ defaults: webcheck
name: '{name}_www_debconf_org'
- job-template:
@@ -109,8 +117,16 @@
jobs:
- '{name}_www_debian_org':
webcheck_url: 'http://www.debian.org'
- webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no qa.debian.org/developer.php security.debian.org/pool packages.debian.org/src: i18n.debian.org/material cve.mitre.org/cgi-bin online.securityfocus.com/bid bugs.debian.org/\d\d\d bugs.debian.org/cgi-bin/ \.dsc$ \.diff.gz$ \.tar.gz \.deb$'
+ webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no qa.debian.org/developer.php security.debian.org/pool packages.debian.org/src: i18n.debian.org/material cve.mitre.org/cgi-bin online.securityfocus.com/bid bugs.debian.org/\d\d\d bugs.debian.org/cgi-bin/ \.dsc$ \.diff.gz$ \.tar.gz \.deb$ www.debian.org/security www.debian.org/News'
timed: "0 1 * * 0"
+ - '{name}_www_debian_org_security:
+ webcheck_url: 'http://www.debian.org/security/'
+ webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no qa.debian.org/developer.php security.debian.org/pool packages.debian.org/src: i18n.debian.org/material cve.mitre.org/cgi-bin online.securityfocus.com/bid bugs.debian.org/\d\d\d bugs.debian.org/cgi-bin/ \.dsc$ \.diff.gz$ \.tar.gz \.deb$ www.debian.org/News'
+ timed: "30 1 * * 0"
+ - '{name}_www_debian_org_news':
+ webcheck_url: 'http://www.debian.org/News/'
+ webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no qa.debian.org/developer.php security.debian.org/pool packages.debian.org/src: i18n.debian.org/material cve.mitre.org/cgi-bin online.securityfocus.com/bid bugs.debian.org/\d\d\d bugs.debian.org/cgi-bin/ \.dsc$ \.diff.gz$ \.tar.gz \.deb$ www.debian.org/security'
+ timed: "35 1 * * 0"
- '{name}_www_debconf_org':
webcheck_url: 'http://www.debconf.org'
webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'