Add ircbot to liburcu build job
[lttng-ci.git] / jobs / lttng-ust.yaml
CommitLineData
2b68721a
MJ
1- defaults:
2 name: lttng-ust
3 description: |
4 LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is a
5 port of the low-overhead tracing capabilities of the LTTng kernel tracer
6 to user-space. The library "liblttng-ust" enables tracing of
7 applications and libraries.
8
9 <p>Job is managed by Jenkins Job Builder.</p>
10
11 project-type: freestyle
12
13 logrotate:
14 daysToKeep: -1
15 numToKeep: 2
16 artifactDaysToKeep: -1
17 artifactNumToKeep: -1
18
19 wrappers:
20 - workspace-cleanup
21 - timestamps
22 - ansicolor
23
24 scm:
25 - git:
9a00aa82 26 url: git://github.com/lttng/lttng-ust.git
2b68721a 27 browser: githubweb
9a00aa82 28 browser-url: https://github.com/lttng/lttng-ust
2b68721a
MJ
29 branches:
30 - origin/{version}
31
32 triggers:
33 - pollscm:
34 cron: "@hourly"
35
36 properties:
37 - github:
9a00aa82 38 url: https://github.com/lttng/lttng-ust
2b68721a
MJ
39
40
41## Templates
42- job-template:
43 name: lttng-ust_{version}_{buildtype}
44 defaults: lttng-ust
45
46 project-type: matrix
47 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
48 execution-strategy:
49 combination-filter: |
50 (build=="std") || (liburcu_version=="master")
51 axes:
52 - axis:
53 type: slave
54 name: arch
55 values: '{obj:arch}'
56 - axis:
57 type: user-defined
58 name: conf
59 values:
60 - std
61 - java-agent
62 - python-agent
63 - axis:
64 type: user-defined
65 name: liburcu_version
66 values:
67 !include jobs/inc/liburcu-versions.yaml.inc
68 - axis:
69 type: user-defined
70 name: build
71 values: '{obj:build}'
72
73 builders:
74 - copyartifact:
75 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
76 which-build: last-successful
77 stable: true
78 filter: 'build/**'
79 target: 'deps/liburcu'
80 do-not-fingerprint: true
81 - shell:
82 !include-raw-escape scripts/lttng-ust/build.sh
83
84 # TODO: Scan for open tasks
85 publishers:
86 - tap:
87 results: 'tap/**/*.tap'
88 failed-tests-mark-build-as-failure: true
89 - warnings:
90 console-log-parsers:
91 - 'GNU Make + GNU C Compiler (gcc)'
99e596d1
MJ
92 #total-thresholds:
93 # failed:
94 # total-all: 0
95 # total-high: 0
96 # total-normal: 0
97 # total-low: 0
2b68721a
MJ
98 - archive:
99 artifacts: 'build/**'
100 allow-empty: false
101 - workspace-cleanup
102
103
104- job-template:
105 name: lttng-ust_{version}_cppcheck
106 defaults: lttng-ust
107
108 triggers:
109 - pollscm:
110 cron: "@daily"
111
112 builders:
113 - shell: |
114 rm -f lttng-ust-cppcheck.xml
115 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-ust-cppcheck.xml
116
117 publishers:
118 - archive:
119 artifacts: 'lttng-ust-cppcheck.xml'
120 allow-empty: false
121 - cppcheck:
122 pattern: 'lttng-ust-cppcheck.xml'
123 - email:
124 recipients: 'ci-notification@lists.lttng.org'
125 notify-every-unstable-build: true
126 send-to-individuals: false
127
128- job-template:
129 name: lttng-ust_{version}_scan-build
130 defaults: lttng-ust
131 node: 'x86-64'
132
133 triggers:
134 - pollscm:
135 cron: "@daily"
136
137 builders:
138 - shell:
139 !include-raw-escape scripts/lttng-ust/scan-build.sh
140
141 publishers:
142 - html-publisher:
143 name: 'HTML Report'
144 dir: 'scan-build-archive/'
145 files: 'index.html'
146
cdb4cba4
MJ
147- job-template:
148 name: lttng-ust_{version}_coverity
149 defaults: lttng-ust
150 node: 'x86-64'
151
152 triggers:
153 - pollscm:
154 cron: "@daily"
155
156 wrappers:
157 - workspace-cleanup
158 - timestamps
159 - ansicolor:
160 colormap: xterm
161 - credentials-binding:
162 - username-password-separated:
163 credential-id: lttng-ust_coverity_token
164 username: COVERITY_SCAN_PROJECT_NAME
165 password: COVERITY_SCAN_TOKEN
166
167 builders:
168 - copyartifact:
169 project: liburcu_master_build/arch=x86-64,conf=std,build=std
170 which-build: last-successful
171 stable: true
172 filter: 'build/**'
173 target: 'deps/liburcu'
174 do-not-fingerprint: true
175 - shell:
176 !include-raw-escape scripts/common/coverity.sh
177
178 publishers:
179 - workspace-cleanup
2b68721a
MJ
180
181- job-template:
182 name: lttng-ust_{version}_pylint
183 defaults: lttng-ust
184 node: 'x86-64'
185
186 scm: []
187
188 triggers:
189 - pollscm:
190 cron: "@daily"
191
192 builders:
193 - copyartifact:
194 project: lttng-ust-{version}/arch=x86-64,build=std,conf=python-agent
195 which-build: last-successful
196 stable: true
197 filter: 'build/**'
198 target: 'deps/lttng-ust'
199 do-not-fingerprint: true
200 - shell:
201 !include-raw-escape scripts/lttng-ust/pylint.sh
202
203 publishers:
204 - archive:
205 artifacts: 'pep8.out,pylint.out'
206 - violations:
207 pep8:
208 pattern: pep8.out
209 min: 10
210 max: 999
211 unstable: 999
212 pylint:
213 pattern: pylint.out
214 min: 10
215 max: 999
216 unstable: 999
217 - email:
218 recipients: 'ci-notification@lists.lttng.org'
219 notify-every-unstable-build: true
220 send-to-individuals: false
221
222
223## Project
224- project:
225 name: lttng-ust
226 version:
227 !include jobs/inc/lttng-ust-versions.yaml.inc
228 jobs:
229 - 'lttng-ust_{version}_{buildtype}':
230 buildtype: build
231 arch: !!python/tuple [x86-32, x86-64]
232 build: !!python/tuple [std, oot, dist]
233 - 'lttng-ust_{version}_{buildtype}':
234 buildtype: portbuild
235 arch: !!python/tuple [armhf, powerpc]
236 build: !!python/tuple [std]
237 - 'lttng-ust_{version}_cppcheck'
238 - 'lttng-ust_{version}_scan-build'
cdb4cba4
MJ
239 - 'lttng-ust_{version}_coverity':
240 version: master
2b68721a 241
This page took 0.031573 seconds and 4 git commands to generate.