summaryrefslogtreecommitdiffstats
path: root/job-cfg/piuparts.yaml
blob: 97aae163c4deb33c4dda0dc3c43bb50e333de448 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
- defaults:
    name: piuparts
    project-type: freestyle
    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/qa.debian.org/
          text: Jobs for Debian QA related packages
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.co.uk
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
    description: '{my_description}<br><br>Job  configuration source is <a href="https://anonscm.debian.org/git/qa/jenkins.debian.net.git/tree/job-cfg/piuparts.yaml">piuparts.yaml</a>.'
    logrotate:
      daysToKeep: 90
      numToKeep: 20
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    scm:
      - git:
          url: 'git://anonscm.debian.org/piuparts/piuparts.git'
          branches:
            - develop

- job-template:
    defaults: piuparts
    name: '{name}_testsuite_jessie'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - trigger:
          project: '{my_trigger}'
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_testsuite_stretch'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - trigger:
          project: '{my_trigger}'
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_testsuite_buster'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - trigger:
          project: '{my_trigger}'
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_testsuite_sid'
    triggers:
      - pollscm:
          cron: '*/6 * * * *'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - trigger:
          project: '{my_trigger}'
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_build_jessie'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - archive:
          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
          latest-only: true
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_build_stretch'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - archive:
          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
          latest-only: true
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_build_buster'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - trigger:
          project: '{my_trigger}'
      - archive:
          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
          latest-only: true
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- job-template:
    defaults: piuparts
    name: '{name}_build_sid'
    publishers:
      - email:
          recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org'
      - trigger:
          project: '{my_trigger}'
      - archive:
          artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes'
          latest-only: true
      - naginator:
          progressive-delay-increment: 5
          progressive-delay-maximum: 15
          max-failed-builds: 5
          regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch'
    builders:
      - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'

- project:
    name: piuparts
    jobs:
        - '{name}_testsuite_sid':
            my_distro: 'sid'
            my_shell: 'make check'
            my_description: 'run testsuite from piuparts develop branch on sid.'
            my_trigger: 'piuparts_testsuite_buster, piuparts_build_sid'
        - '{name}_testsuite_buster':
            my_distro: 'buster'
            my_shell: 'make check'
            my_description: 'run testsuite from piuparts develop branch on buster.'
            my_trigger: 'piuparts_testsuite_stretch'
        - '{name}_testsuite_stretch':
            my_distro: 'stretch'
            my_shell: 'make check'
            my_description: 'run testsuite from piuparts develop branch on stretch.'
            my_trigger: 'piuparts_testsuite_jessie'
        - '{name}_testsuite_jessie':
            my_distro: 'jessie backports'
            my_shell: 'make check'
            my_description: 'run testsuite from piuparts develop branch on jessie with backports enabled.'
            my_trigger: ''
        - '{name}_build_sid':
            my_distro: 'sid'
            my_shell: 'debuild -uc -us'
            my_description: 'build the piuparts develop branch on sid.'
            my_trigger: 'piuparts_build_buster'
        - '{name}_build_buster':
            my_distro: 'buster'
            my_shell: 'debuild -uc -us'
            my_description: 'build the piuparts develop branch on buster.'
            my_trigger: 'piuparts_build_stretch'
        - '{name}_build_stretch':
            my_distro: 'stretch'
            my_shell: 'debuild -uc -us'
            my_description: 'build the piuparts develop branch on stretch.'
        - '{name}_build_jessie':
            my_distro: 'jessie backports'
            my_shell: 'debuild -uc -us'
            my_description: 'build the piuparts develop branch on jessie with backports enabled.'