summaryrefslogtreecommitdiffstats
path: root/job-cfg/self.yaml
blob: 83335ee4d57ee7d53248474d6754e840bb7c76c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
- defaults:
    name: self-maintainance
    description: 'Cleanup and monitor so that there is a predictable environment.{do_not_edit}'
    logrotate:
      daysToKeep: 90
      numToKeep: 30
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    triggers:
      - timed: "30 6 * * *"
    builders:
      - shell: '{my_shell}'
    publishers:
      - 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/jenkins.d.n/
          text: All jenkins.d.n 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: '125'

- job-template:
    defaults: self-maintainance
    name: '{name}_maintainance'
    publishers:
      - logparser:
          parse-rules: '/srv/jenkins/logparse/debian.rules'
          unstable-on-warning: 'true'
          fail-on-error: 'true'

- job-template:
    defaults: self-maintainance
    name: '{name}_sub-maintainance-squid'

- project:
    name: self
    do_not_edit: '<br><br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/job-cfg/self.yaml">self.yaml</a>.'
    jobs:
      - '{name}_maintainance':
         my_shell: '/srv/jenkins/bin/maintainance.sh'
      - '{name}_sub-maintainance-squid':
         my_shell: '/srv/jenkins/bin/maintainance.sh squid'