Update liburcu and babeltrace versions
[lttng-ci.git] / jobs / babeltrace.yaml
CommitLineData
890bff23
MJ
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
6cf22a3a
MJ
26 - ansicolor:
27 colormap: xterm
890bff23
MJ
28
29 scm:
30 - git:
9a00aa82 31 url: git://github.com/efficios/babeltrace.git
890bff23 32 browser: githubweb
9a00aa82 33 browser-url: https://github.com/efficios/babeltrace
890bff23
MJ
34 branches:
35 - origin/{version}
36
37 triggers:
6cf22a3a
MJ
38 - pollscm:
39 cron: "@hourly"
890bff23
MJ
40
41 properties:
42 - github:
9a00aa82 43 url: https://github.com/efficios/babeltrace
890bff23
MJ
44
45
46## Templates
47- job-template:
48 name: babeltrace_{version}_{buildtype}
49 defaults: babeltrace
50
51 project-type: matrix
ca8c6144 52 node: 'master' # Applies only to matrix flyweight task
890bff23
MJ
53 axes:
54 - axis:
55 type: slave
56 name: arch
57 values: '{obj:arch}'
58 - axis:
59 type: user-defined
60 name: conf
61 values:
62 - std
63 - static
95654431 64 - python-bindings
890bff23
MJ
65 - axis:
66 type: user-defined
67 name: build
9d0846f3 68 values: '{obj:build}'
890bff23
MJ
69
70 builders:
71 - shell:
72 !include-raw-escape scripts/babeltrace/build.sh
73
74 # TODO: Scan for open tasks
75 publishers:
76 - tap:
77 results: 'tap/**/*.tap'
78 failed-tests-mark-build-as-failure: true
95654431 79 todo-is-failure: false
890bff23
MJ
80 - warnings:
81 console-log-parsers:
82 - 'GNU Make + GNU C Compiler (gcc)'
83 total-thresholds:
84 failed:
85 total-all: 0
86 total-high: 0
87 total-normal: 0
88 total-low: 0
89 - archive:
90 artifacts: 'build/**'
91 allow-empty: false
1f6ad2ae 92 - ircbot:
95654431 93 strategy: new-failure-and-fixed
1f6ad2ae
MJ
94 matrix-notifier: only-parent
95 channels:
96 - name: '#lttng'
890bff23
MJ
97
98- job-template:
99 name: babeltrace_{version}_cppcheck
100 defaults: babeltrace
101
102 triggers:
6cf22a3a
MJ
103 - pollscm:
104 cron: "@daily"
890bff23
MJ
105
106 builders:
107 - shell: |
108 rm -f babeltrace-cppcheck.xml
109 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> babeltrace-cppcheck.xml
110
111 publishers:
112 - archive:
113 artifacts: 'babeltrace-cppcheck.xml'
114 allow-empty: false
890bff23
MJ
115 - cppcheck:
116 pattern: 'babeltrace-cppcheck.xml'
117 - email:
118 recipients: 'ci-notification@lists.lttng.org'
119 notify-every-unstable-build: true
120 send-to-individuals: false
121
122- job-template:
123 name: babeltrace_{version}_scan-build
124 defaults: babeltrace
125 node: 'x86-64'
126
127 triggers:
6cf22a3a
MJ
128 - pollscm:
129 cron: "@daily"
890bff23
MJ
130
131 builders:
132 - shell:
133 !include-raw-escape scripts/babeltrace/scan-build.sh
134
135 publishers:
136 - html-publisher:
137 name: 'HTML Report'
138 dir: 'scan-build-archive/'
139 files: 'index.html'
140
6cf22a3a
MJ
141- job-template:
142 name: babeltrace_{version}_coverity
143 defaults: babeltrace
144 node: 'x86-64'
145
146 triggers:
147 - pollscm:
148 cron: "@daily"
149
150 wrappers:
151 - workspace-cleanup
152 - timestamps
153 - ansicolor:
154 colormap: xterm
155 - credentials-binding:
156 - username-password-separated:
157 credential-id: babeltrace_coverity_token
158 username: COVERITY_SCAN_PROJECT_NAME
159 password: COVERITY_SCAN_TOKEN
160 builders:
161 - shell:
162 !include-raw-escape scripts/common/coverity.sh
163
164 publishers:
165 - workspace-cleanup
890bff23
MJ
166
167- job-template:
168 name: babeltrace_{version}_pylint
169 defaults: babeltrace
170 node: 'x86-64'
171
172 scm: []
173
174 triggers:
6cf22a3a
MJ
175 - pollscm:
176 cron: "@daily"
890bff23
MJ
177
178 builders:
179 - copyartifact:
95654431 180 project: babeltrace-{version}/arch=x86-64,build=std,conf=python-bindings
890bff23
MJ
181 which-build: last-successful
182 stable: true
183 filter: 'build/**'
b0afcb47 184 target: 'deps/babeltrace'
890bff23
MJ
185 - shell:
186 !include-raw-escape scripts/babeltrace/pylint.sh
187
188 publishers:
189 - archive:
190 artifacts: 'pep8.out,pylint.out'
890bff23
MJ
191 - violations:
192 pep8:
193 pattern: pep8.out
194 min: 10
195 max: 999
196 unstable: 999
197 pylint:
198 pattern: pylint.out
199 min: 10
200 max: 999
201 unstable: 999
202 - email:
203 recipients: 'ci-notification@lists.lttng.org'
204 notify-every-unstable-build: true
205 send-to-individuals: false
206
207
890bff23
MJ
208## Project
209- project:
210 name: babeltrace
211 version:
6ea8351e 212 !include jobs/inc/babeltrace-versions.yaml.inc
890bff23 213 jobs:
57ae8ff4
MJ
214 - 'babeltrace_{version}_{buildtype}':
215 buildtype: build
890bff23 216 arch: !!python/tuple [x86-32, x86-64]
9d0846f3 217 build: !!python/tuple [std, oot, dist]
57ae8ff4
MJ
218 - 'babeltrace_{version}_{buildtype}':
219 buildtype: portbuild
95654431 220 arch: !!python/tuple [armhf, powerpc, ppc64el]
9d0846f3 221 build: !!python/tuple [std]
890bff23
MJ
222 - 'babeltrace_{version}_cppcheck'
223 - 'babeltrace_{version}_scan-build'
224 - 'babeltrace_{version}_pylint'
6cf22a3a
MJ
225 - 'babeltrace_{version}_coverity':
226 version: master
890bff23 227
This page took 0.079366 seconds and 4 git commands to generate.