Add staging branch for jgalar
[lttng-ci.git] / jobs / babeltrace.yaml
1 - defaults:
2 name: babeltrace
3 description: |
4 The Babeltrace project provides trace read and write libraries, as well
5 as a trace converter. Plugins can be created for any trace format to
6 allow its conversion to/from another trace format.
7
8 The main format expected to be converted to/from is the Common Trace
9 Format (CTF). The default input format of the "babeltrace" command is
10 CTF, and its default output format is a human-readable text log. The
11 "babeltrace-log" command converts from a text log to a CTF trace.
12
13 <p>Job is managed by Jenkins Job Builder.</p>
14
15 project-type: freestyle
16
17 logrotate:
18 daysToKeep: -1
19 numToKeep: 2
20 artifactDaysToKeep: -1
21 artifactNumToKeep: -1
22
23 wrappers:
24 - workspace-cleanup
25 - timestamps
26 - ansicolor:
27 colormap: xterm
28
29 scm:
30 - git:
31 url: git://github.com/{github_user}/{github_name}.git
32 browser: githubweb
33 browser-url: https://github.com/{github_user}/{github_name}
34 branches:
35 - origin/{version}
36
37 triggers:
38 - pollscm:
39 cron: "@hourly"
40
41 properties:
42 - github:
43 url: https://github.com/{github_user}/{github_name}
44
45
46 ## Templates
47
48 - babeltrace_version_buildtype_anchor: &babeltrace_version_buildtype_anchor
49 name: 'babeltrace_version_buildtype_anchor'
50 defaults: babeltrace
51
52 project-type: matrix
53 node: 'master' # Applies only to matrix flyweight task
54 axes:
55 - axis:
56 type: slave
57 name: arch
58 values: '{obj:arch}'
59 - axis:
60 type: user-defined
61 name: conf
62 values: '{obj:conf}'
63 - axis:
64 type: user-defined
65 name: build
66 values: '{obj:build}'
67
68 builders:
69 - shell:
70 !include-raw-escape: scripts/babeltrace/build.sh
71
72 - job-template:
73 name: babeltrace_{version}_{buildtype}
74 <<: *babeltrace_version_buildtype_anchor
75 # TODO: Scan for open tasks
76 publishers:
77 - tap:
78 results: 'tap/**/*.tap'
79 failed-tests-mark-build-as-failure: true
80 todo-is-failure: false
81 - warnings:
82 console-log-parsers:
83 - 'GNU Make + GNU C Compiler (gcc)'
84 total-thresholds:
85 failed:
86 total-all: 0
87 total-high: 0
88 total-normal: 0
89 total-low: 0
90 - archive:
91 artifacts: 'build/**'
92 allow-empty: false
93 - ircbot:
94 strategy: new-failure-and-fixed
95 matrix-notifier: only-parent
96 channels:
97 - name: '#lttng'
98
99 - job-template:
100 name: dev_{user}_babeltrace_{version}_{buildtype}
101 <<: *babeltrace_version_buildtype_anchor
102 publishers:
103 - tap:
104 results: 'tap/**/*.tap'
105 failed-tests-mark-build-as-failure: true
106 todo-is-failure: false
107 - warnings:
108 console-log-parsers:
109 - 'GNU Make + GNU C Compiler (gcc)'
110 total-thresholds:
111 failed:
112 total-all: 0
113 total-high: 0
114 total-normal: 0
115 total-low: 0
116 - ircbot:
117 strategy: new-failure-and-fixed
118 notify-committers: True
119 notify-fixers: True
120
121 matrix-notifier: only-configurations
122 channels:
123 - name: '#lttng'
124
125 - job-template:
126 name: babeltrace_{version}_cppcheck
127 defaults: babeltrace
128
129 triggers:
130 - pollscm:
131 cron: "@daily"
132
133 builders:
134 - shell: |
135 rm -f babeltrace-cppcheck.xml
136 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> babeltrace-cppcheck.xml
137
138 publishers:
139 - archive:
140 artifacts: 'babeltrace-cppcheck.xml'
141 allow-empty: false
142 - cppcheck:
143 pattern: 'babeltrace-cppcheck.xml'
144 - email:
145 recipients: 'ci-notification@lists.lttng.org'
146 notify-every-unstable-build: true
147 send-to-individuals: false
148
149 - job-template:
150 name: babeltrace_{version}_scan-build
151 defaults: babeltrace
152 node: 'x86-64'
153
154 triggers:
155 - pollscm:
156 cron: "@daily"
157
158 builders:
159 - shell:
160 !include-raw-escape: scripts/babeltrace/scan-build.sh
161
162 publishers:
163 - html-publisher:
164 name: 'HTML Report'
165 dir: 'scan-build-archive/'
166 files: 'index.html'
167
168 - job-template:
169 name: babeltrace_{version}_coverity
170 defaults: babeltrace
171 node: 'x86-64'
172
173 triggers:
174 - pollscm:
175 cron: "@daily"
176
177 wrappers:
178 - workspace-cleanup
179 - timestamps
180 - ansicolor:
181 colormap: xterm
182 - credentials-binding:
183 - username-password-separated:
184 credential-id: babeltrace_coverity_token
185 username: COVERITY_SCAN_PROJECT_NAME
186 password: COVERITY_SCAN_TOKEN
187 builders:
188 - shell:
189 !include-raw-escape: scripts/common/coverity.sh
190
191 publishers:
192 - workspace-cleanup
193
194 - job-template:
195 name: babeltrace_{version}_pylint
196 defaults: babeltrace
197 node: 'x86-64'
198
199 scm: []
200
201 triggers:
202 - pollscm:
203 cron: "@daily"
204
205 builders:
206 - copyartifact:
207 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
208 which-build: last-successful
209 stable: true
210 filter: 'build/**'
211 target: 'deps/babeltrace'
212 - shell:
213 !include-raw-escape: scripts/babeltrace/pylint.sh
214
215 publishers:
216 - archive:
217 artifacts: 'pep8.out,pylint.out'
218 - violations:
219 pep8:
220 pattern: pep8.out
221 min: 10
222 max: 999
223 unstable: 999
224 pylint:
225 pattern: pylint.out
226 min: 10
227 max: 999
228 unstable: 999
229 - email:
230 recipients: 'ci-notification@lists.lttng.org'
231 notify-every-unstable-build: true
232 send-to-individuals: false
233
234
235 ## Project
236 - project:
237 name: babeltrace
238 github_user: efficios
239 github_name: babeltrace
240 version:
241 !include: jobs/inc/babeltrace-versions.yaml.inc
242 jobs:
243 - 'babeltrace_{version}_{buildtype}':
244 buildtype: build
245 arch: !!python/tuple [x86-32, x86-64]
246 build: !!python/tuple [std, oot, dist]
247 conf: !!python/tuple [std, static, python-bindings]
248 - 'babeltrace_{version}_{buildtype}':
249 buildtype: portbuild
250 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
251 build: !!python/tuple [std]
252 conf: !!python/tuple [std, static, python-bindings]
253 - 'babeltrace_{version}_{buildtype}':
254 buildtype: solarisbuild
255 arch: !!python/tuple [solaris10, solaris11]
256 build: !!python/tuple [std]
257 conf: !!python/tuple [std, static]
258 version:
259 - stable-1.3
260 - master
261 - 'babeltrace_{version}_cppcheck'
262 - 'babeltrace_{version}_scan-build'
263 - 'babeltrace_{version}_pylint'
264 - 'babeltrace_{version}_coverity':
265 version: master
266 - 'dev_{user}_babeltrace_{version}_{buildtype}':
267 user: jgalar
268 github_user: jgalar
269 github_name: babeltrace
270 buildtype: build
271 version:
272 - master-staging
273 - stable-1.2-staging
274 - stable-1.3-staging
275 arch: !!python/tuple [x86-32, x86-64]
276 build: !!python/tuple [std, oot, dist]
277 conf: !!python/tuple [std, static, python-bindings]
278
This page took 0.078764 seconds and 5 git commands to generate.