Initial lttng-ust jobs
[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:
26 url: https://github.com/lttng/lttng-ust.git
27 browser: githubweb
28 browser-url: https://github.com/lttng/lttng-ust.git
29 branches:
30 - origin/{version}
31
32 triggers:
33 - pollscm:
34 cron: "@hourly"
35
36 properties:
37 - github:
38 url: https://github.com/lttng/lttng-ust/
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)'
92 total-thresholds:
93 failed:
94 total-all: 0
95 total-high: 0
96 total-normal: 0
97 total-low: 0
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
147# TODO: lttng-ust_{version}_coverity
148#- job-template:
149# name: lttng-ust_{version}_coverity
150# defaults: lttng-ust
151# node: 'x86-64'
152#
153# triggers:
154# - pollscm:
155# cron: "@daily"
156#
157# builders:
158# - shell:
159# !include-raw-escape scripts/lttng-ust/coverity.sh
160#
161# publishers:
162# - html-publisher:
163# name: 'HTML Report'
164# dir: 'scan-build-archive/'
165# files: 'index.html'
166
167- job-template:
168 name: lttng-ust_{version}_pylint
169 defaults: lttng-ust
170 node: 'x86-64'
171
172 scm: []
173
174 triggers:
175 - pollscm:
176 cron: "@daily"
177
178 builders:
179 - copyartifact:
180 project: lttng-ust-{version}/arch=x86-64,build=std,conf=python-agent
181 which-build: last-successful
182 stable: true
183 filter: 'build/**'
184 target: 'deps/lttng-ust'
185 do-not-fingerprint: true
186 - shell:
187 !include-raw-escape scripts/lttng-ust/pylint.sh
188
189 publishers:
190 - archive:
191 artifacts: 'pep8.out,pylint.out'
192 - violations:
193 pep8:
194 pattern: pep8.out
195 min: 10
196 max: 999
197 unstable: 999
198 pylint:
199 pattern: pylint.out
200 min: 10
201 max: 999
202 unstable: 999
203 - email:
204 recipients: 'ci-notification@lists.lttng.org'
205 notify-every-unstable-build: true
206 send-to-individuals: false
207
208
209## Project
210- project:
211 name: lttng-ust
212 version:
213 !include jobs/inc/lttng-ust-versions.yaml.inc
214 jobs:
215 - 'lttng-ust_{version}_{buildtype}':
216 buildtype: build
217 arch: !!python/tuple [x86-32, x86-64]
218 build: !!python/tuple [std, oot, dist]
219 - 'lttng-ust_{version}_{buildtype}':
220 buildtype: portbuild
221 arch: !!python/tuple [armhf, powerpc]
222 build: !!python/tuple [std]
223 - 'lttng-ust_{version}_cppcheck'
224 - 'lttng-ust_{version}_scan-build'
225
This page took 0.029048 seconds and 4 git commands to generate.