summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rwxr-xr-xbin/webcheck_url.sh4
-rw-r--r--job-cfg/webcheck.yaml116
3 files changed, 115 insertions, 6 deletions
diff --git a/TODO b/TODO
index a3daeedf..afe83e85 100644
--- a/TODO
+++ b/TODO
@@ -68,7 +68,6 @@ About jenkins.debian.net
** use debian stylesheet for about.html
* proper git repo url, outside users/holger
** http://anonscm.debian.org/gitweb/?p=users/holger/jenkins.debian.net.git
-* weekly runs of webcheck? but then, when to fail and become unstable?
* only trigger (=really run) jobs if available+used packages have changed (save packages in db and compare)
== Installed software that makes jenkins.debian.net run
diff --git a/bin/webcheck_url.sh b/bin/webcheck_url.sh
index 366f1890..2652f5b0 100755
--- a/bin/webcheck_url.sh
+++ b/bin/webcheck_url.sh
@@ -16,12 +16,8 @@ set -e
export LANG=C
export http_proxy="http://localhost:3128"
-TMPFILE=$(mktemp -d)
-cd $TMPFILE
PARAMS=""
if [ "$2" != "" ] ; then
PARAMS=$(for i in $2 ; do echo -n "-y $i " ; done)
fi
webcheck $1 $PARAMS
-cd ..
-mv $TMPFILE $(basename $1)
diff --git a/job-cfg/webcheck.yaml b/job-cfg/webcheck.yaml
index bc1514c5..34bebfa8 100644
--- a/job-cfg/webcheck.yaml
+++ b/job-cfg/webcheck.yaml
@@ -8,7 +8,7 @@
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers:
- - timed: "0 1 * * 0"
+ - timed: {timed}
builders:
- shell: '/srv/jenkins/bin/webcheck_url.sh {webcheck_url} {webcheck_ignore_patterns}'
publishers:
@@ -28,20 +28,134 @@
- job-template:
defaults: webcheck
+ name: '{name}_www_debian_org'
+
+- job-template:
+ defaults: webcheck
name: '{name}_www_debconf_org'
- job-template:
defaults: webcheck
name: '{name}_debconf13_debconf_org'
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf12_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf11_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf10_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf9_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf8_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf7_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf6_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf5_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf4_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf3_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf2_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf1_debconf_org'
+
+- job-template:
+ defaults: webcheck
+ name: '{name}_debconf0_debconf_org'
+
- project:
name: webcheck
do_not_edit: '<br><br>Configured by <a href="http://jenkins.debian.net/userContent/about.html">jenkins-job-builder</a>, do not edit this job through the web UI.'
jobs:
+ - '{name}_www_debian_org':
+ webcheck_url: 'http://www.debian.org'
+ webcheck_ignore_patterns: '^mailto: ^http://qa.debian.org/developer.php http://security.debian.org/pool ^http://packages.debian.org/src:'
+ timed: "0 1 * * 0"
- '{name}_www_debconf_org':
webcheck_url: 'http://www.debconf.org'
webcheck_ignore_patterns: '^mailto:'
+ timed: "2 1 * * 0"
- '{name}_debconf13_debconf_org':
webcheck_url: 'http://debconf13.debconf.org'
webcheck_ignore_patterns: '^mailto:'
+ timed: "4 1 * * 0"
+ - '{name}_debconf12_debconf_org':
+ webcheck_url: 'http://debconf12.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "6 1 * * 0"
+ - '{name}_debconf11_debconf_org':
+ webcheck_url: 'http://debconf11.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "8 1 * * 0"
+ - '{name}_debconf10_debconf_org':
+ webcheck_url: 'http://debconf10.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "10 1 * * 0"
+ - '{name}_debconf9_debconf_org':
+ webcheck_url: 'http://debconf9.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "12 1 * * 0"
+ - '{name}_debconf8_debconf_org':
+ webcheck_url: 'http://debconf8.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "14 1 * * 0"
+ - '{name}_debconf7_debconf_org':
+ webcheck_url: 'http://debconf7.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "16 1 * * 0"
+ - '{name}_debconf6_debconf_org':
+ webcheck_url: 'http://debconf6.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "18 1 * * 0"
+ - '{name}_debconf5_debconf_org':
+ webcheck_url: 'http://debconf5.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "20 1 * * 0"
+ - '{name}_debconf4_debconf_org':
+ webcheck_url: 'http://debconf4.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "22 1 * * 0"
+ - '{name}_debconf3_debconf_org':
+ webcheck_url: 'http://debconf3.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "24 1 * * 0"
+ - '{name}_debconf2_debconf_org':
+ webcheck_url: 'http://debconf2.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "26 1 * * 0"
+ - '{name}_debconf1_debconf_org':
+ webcheck_url: 'http://debconf1.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "28 1 * * 0"
+ - '{name}_debconf0_debconf_org':
+ webcheck_url: 'http://debconf0.debconf.org'
+ webcheck_ignore_patterns: '^mailto:'
+ timed: "30 1 * * 0"