- defaults:
    name: webcheck
    description: 'Run <a href="http://arthurdejong.org/webcheck/">webcheck</a> on {webcheck_url} on the first day of a month. These patters are ignored: <pre>{webcheck_ignore_patterns}</pre>{do_not_edit}'
    logrotate:
      daysToKeep: 365
      numToKeep: 50
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    triggers:
      - timed: "{timed}"
    builders:
      - shell: "/srv/jenkins/bin/webcheck_url.sh {webcheck_url} '{webcheck_ignore_patterns}'"
    publishers:
      - logparser:
          parse-rules: '/srv/jenkins/logparse/debian.rules'
          unstable-on-warning: 'false'
          fail-on-error: 'false'
      - htmlpublisher:
          name: 'Webcheck report'
          directory: '.'
          indexfiles: 'index.html'
          keepall: True
      - email:
          recipients: holger@layer-acht.org
    properties:
      - sidebar:
          url: https://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar:
          url: https://jenkins.debian.net/view/webcheck/
          text: All webcheck jobs
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.com
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
      - priority:
          job-prio: '120'

- job-template:
    defaults: webcheck
    name: '{name}_www_debian_org'

- 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:
    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'

- job-template:
    defaults: webcheck
    name: '{name}_media_debconf_org'

- job-template:
    defaults: webcheck
    name: '{name}_debian_edu_squeeze_manual'

- project:
    name: webcheck
    do_not_edit: '<br><br>Job configuration source is <a href="http://anonscm.debian.org/gitweb/?p=qa/jenkins.debian.net.git;a=blob;f=job-cfg/webcheck.yaml">webcheck.yaml</a>.'
    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 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 www.debian.org/mirror/list \.\./\.\. www.debian.org/doc/.* www.debian.org/devel/website/stats/.*'
         timed: "0 1 1 * *"
      - '{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 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 lists.debian.org'
         timed: "30 1 1 * *"
      - '{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 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 lists.debian.org'
         timed: "35 1 1 * *"
      - '{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'
         timed: "2 1 1 * *"
      - '{name}_debconf13_debconf_org':
         webcheck_url: 'http://debconf13.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "4 1 1 * *"
      - '{name}_debconf12_debconf_org':
         webcheck_url: 'http://debconf12.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "6 1 1 * *"
      - '{name}_debconf11_debconf_org':
         webcheck_url: 'http://debconf11.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "8 1 1 * *"
      - '{name}_debconf10_debconf_org':
         webcheck_url: 'http://debconf10.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "10 1 1 * *"
      - '{name}_debconf9_debconf_org':
         webcheck_url: 'http://debconf9.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "12 1 1 * *"
      - '{name}_debconf8_debconf_org':
         webcheck_url: 'http://debconf8.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "14 1 1 * *"
      - '{name}_debconf7_debconf_org':
         webcheck_url: 'http://debconf7.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "16 1 1 * *"
      - '{name}_debconf6_debconf_org':
         webcheck_url: 'http://debconf6.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "18 1 1 * *"
      - '{name}_debconf5_debconf_org':
         webcheck_url: 'http://debconf5.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "20 1 1 * *"
      - '{name}_debconf4_debconf_org':
         webcheck_url: 'http://debconf4.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "22 1 1 * *"
      - '{name}_debconf3_debconf_org':
         webcheck_url: 'http://debconf3.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "24 1 1 * *"
      - '{name}_debconf2_debconf_org':
         webcheck_url: 'http://debconf2.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "26 1 1 * *"
      - '{name}_debconf1_debconf_org':
         webcheck_url: 'http://debconf1.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "28 1 1 * *"
      - '{name}_debconf0_debconf_org':
         webcheck_url: 'http://debconf0.debconf.org'
         webcheck_ignore_patterns: '^mailto: action/edit action/history Special: oldid= printable=yes limit= redirect=no'
         timed: "30 1 1 * *"
      - '{name}_media_debconf_org':
         webcheck_url: 'http://media.debconf.org'
         webcheck_ignore_patterns: '^mailto:'
         timed: "32 1 1 * *"
      - '{name}_debian_edu_squeeze_manual':
         webcheck_url: 'http://maintainer.skolelinux.org/debian-edu-doc/en/debian-edu-squeeze-manual.html'
         webcheck_ignore_patterns: '^mailto: \?C= http://maintainer.skolelinux.org/debian-edu-doc/$'
         timed: "34 1 1,8,15,22 * *"