summaryrefslogtreecommitdiffstats
path: root/job-cfg/d-i.yaml
blob: efd11e6ad6192bd468d815fdb41e8d50048493a4 (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
- defaults:
    name: d-i
    project-type: freestyle
    logrotate:
      daysToKeep: 90
      numToKeep: 50
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    properties:
      - sidebar:
          url: http://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar:
          url: http://jenkins.debian.net/view/debian-installer/
          text: All debian-installer jobs
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.com
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png

- defaults:
    name: d-i-manual
    project-type: freestyle
    logrotate:
      daysToKeep: 90
      numToKeep: 50
      artifactDaysToKeep: -1
      artifactNumToKeep: -1
    properties:
      - sidebar:
          url: http://jenkins.debian.net/userContent/about.html
          text: About jenkins.debian.net
          icon: /userContent/images/debian-swirl-24x24.png
      - sidebar:
          url: http://jenkins.debian.net/view/debian-installer/
          text: All debian-installer jobs
          icon: /userContent/images/debian-jenkins-24x24.png
      - sidebar:
          url: http://www.profitbricks.com
          text: Sponsored by Profitbricks
          icon: /userContent/images/profitbricks-24x24.png
    description: 'Builds the {languagename} html version of the installation-guide for all architectures. Triggered by SVN commits to <pre>svn://svn.debian.org/svn/d-i/trunk/manual/{lang}/<pre> {do_not_edit}'
    scm:
      - svn:
         url: svn://svn.debian.org/svn/d-i/trunk
         basedir: .
         workspaceupdater: update
         includedRegions: '/trunk/manual/{lang}/.*'
         excludedRegions: ''
         excludedUsers: ''
         excludedRevprop: ''
         excludedCommitMessages: ''
         viewvc-url: http://anonscm.debian.org/viewvc/d-i/trunk
    builders:
      - shell: '/srv/jenkins/bin/d-i_manual.sh {lang}'
    triggers:
      - pollscm: "*/30 * * * *"
    publishers:
      - logparser:
         rulespath: '/srv/jenkins/logparse/debian.rules'
         unstable_on_warning: 'true'
         fail_on_error: 'true'
      - htmlpublisher:
         name: 'Installation guides with LANG={lang}'
         directory: 'html'
         indexfiles: ''
         keepall: False

- job-template:
    defaults: d-i
    name: '{name}_manual'
    description: 'Builds the installation-guide package. Triggered by SVN commits to <pre>svn://svn.debian.org/svn/d-i/trunk/manual/debian/<pre> {do_not_edit}'
    # FIXME see below, other directories should trigger too
    scm:
      - svn:
         url: svn://svn.debian.org/svn/d-i/trunk
         basedir: .
         workspaceupdater: update
         includedRegions: '{include}'
         excludedRegions: ''
         excludedUsers: ''
         excludedRevprop: ''
         excludedCommitMessages: ''
         viewvc-url: http://anonscm.debian.org/viewvc/d-i/trunk
    builders:
      - shell: '/srv/jenkins/bin/d-i_manual.sh'
    triggers:
      - pollscm: "*/30 * * * *"

- job-template:
    defaults: d-i
    name: '{name}_parse_build_logs'
    description: 'Parses d-i build logs daily. {do_not_edit}'
    builders:
      - shell: '/srv/jenkins/bin/d-i_parse_logs.sh http://d-i.debian.org/daily-images/build-logs.html'
    triggers:
      - timed: "0 5 * * *"
    publishers:
      - logparser:
         rulespath: '/srv/jenkins/logparse/debian.rules'
         unstable_on_warning: 'true'
         fail_on_error: 'true'
      - htmlpublisher:
         name: 'Daily d-i build logs'
         directory: '.'
         indexfiles: 'build-logs.html'
         keepall: True

- job-template:
    defaults: d-i
    name: '{name}_check_jenkins_jobs'
    description: 'Checks daily for missing jenkins jobs. {do_not_edit}'
    builders:
      - shell: '/srv/jenkins/bin/d-i_check_jobs.sh'
    triggers:
      - pollscm: "23 0 * * *"
    publishers:
      - logparser:
         rulespath: '/srv/jenkins/logparse/debian.rules'
         unstable_on_warning: 'true'
         fail_on_error: 'true'

- job-template:
    defaults: d-i-manual
    name: '{name}_manual_ca'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_cs'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_de'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_en'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_eu'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_fr'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_it'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_po'
- job-template:
    defaults: d-i-manual
    name: '{name}_manual_pt_BR'

- project:
    name: d-i
    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}_manual':
         include: '/trunk/manual/debian/.*'
         # FIXME: misses: scripts doc build
      - '{name}_manual_ca':
         lang: 'ca'
         languagename: 'Catalan'
      - '{name}_manual_cs':
         lang: 'cs'
         languagename: 'Czech'
      - '{name}_manual_de':
         lang: 'de'
         languagename: 'German'
      - '{name}_manual_en':
         lang: 'en'
         languagename: 'English'
      - '{name}_manual_eu':
         lang: 'eu'
         languagename: 'Basque'
      - '{name}_manual_fr':
         lang: 'fr'
         languagename: 'French'
      - '{name}_manual_it':
         lang: 'it'
         languagename: 'Italian'
      - '{name}_manual_po':
         lang: 'po'
         languagename: 'Polish'
      - '{name}_manual_pt_BR':
         lang: 'pt_BR'
         languagename: 'Brazilian Portuguese'
      # FIXME: a housekeeping job, ie to check for new languages
      - '{name}_parse_build_logs'
      - '{name}_check_jenkins_jobs'