jjb: Add dev_gerrit_barectf_build job
[lttng-ci.git] / jobs / lttng-analyses.yaml
CommitLineData
ead62c96
MJ
1- defaults:
2 name: lttng-analyses
3 description: |
4 LTTng analyses python scripts.
5
6 <p>Job is managed by Jenkins Job Builder.</p>
7
8 project-type: freestyle
9
ead62c96
MJ
10 wrappers:
11 - workspace-cleanup
12 - timestamps
13 - ansicolor:
14 colormap: xterm
de41e5b5
MJ
15 - credentials-binding:
16 - username-password-separated:
17 credential-id: lttng-analyses_codecov_token
18 username: CODECOV_PROJECT_NAME
19 password: CODECOV_TOKEN
ead62c96
MJ
20
21 scm:
22 - git:
51ca880a 23 url: git://github.com/{github_user}/{github_name}.git
ead62c96 24 browser: githubweb
51ca880a 25 browser-url: https://github.com/{github_user}/{github_name}
ead62c96
MJ
26 branches:
27 - origin/{version}
673cb703 28 basedir: src/lttng-analyses
de41e5b5 29 skip-tag: true
ead62c96
MJ
30
31 triggers:
32 - pollscm:
33 cron: "@hourly"
34
35 properties:
edf72710
MJ
36 - build-discarder:
37 num-to-keep: 2
ead62c96 38 - github:
51ca880a 39 url: https://github.com/{github_user}/{github_name}
ead62c96
MJ
40
41
42## Templates
4f4f6150
MJ
43- job-template:
44 name: lttng-analyses_{version}_build
45 defaults: lttng-analyses
46
47 project-type: matrix
48 node: 'master' # Applies only to matrix flyweight task
49 axes:
50 - axis:
51 type: slave
52 name: arch
53 values: '{obj:arch}'
a37a1ee0
MJ
54 - axis:
55 type: user-defined
56 name: babeltrace_version
57 values: '{obj:babeltrace_version}'
4f4f6150
MJ
58
59 builders:
60 - copyartifact:
a37a1ee0 61 project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings
4f4f6150 62 which-build: last-successful
3522265a 63 stable: false
4f4f6150
MJ
64 filter: 'build/**'
65 target: 'deps/babeltrace'
66 - shell:
ef63064f 67 !include-raw-escape: scripts/lttng-analyses/build.sh
4f4f6150 68
de41e5b5 69 publishers:
4f4f6150
MJ
70# - archive:
71# artifacts: 'build/**'
72# allow-empty: false
a3fd32f1
JR
73 - email-ext:
74 recipients: '{obj:email_to}'
75 reply-to: ci-notification@lists.lttng.org
76 always: false
77 unstable: false
78 first-failure: true
79 first-unstable: true
80 not-built: false
81 aborted: false
82 regression: false
83 failure: false
84 second-failure: false
85 improvement: false
86 still-failing: false
87 success: false
88 fixed: false
89 fixed-unhealthy: true
90 still-unstable: false
91 pre-build: false
92 matrix-trigger: only-parent
93 send-to:
94 - recipients
4f4f6150 95
ead62c96
MJ
96- job-template:
97 name: lttng-analyses_{version}_pylint
98 defaults: lttng-analyses
16844a6d 99 node: 'amd64'
ead62c96
MJ
100
101 triggers:
102 - pollscm:
103 cron: "@daily"
104
105 builders:
106 - copyartifact:
16844a6d 107 project: babeltrace_{babeltrace_version}_build/arch=amd64,build=std,conf=python-bindings
ead62c96 108 which-build: last-successful
3522265a 109 stable: false
ead62c96
MJ
110 filter: 'build/**'
111 target: 'deps/babeltrace'
112 - shell:
ef63064f 113 !include-raw-escape: scripts/lttng-analyses/pylint.sh
ead62c96
MJ
114
115 publishers:
116 - archive:
117 artifacts: 'pep8.out,pylint.out'
118 - violations:
119 pep8:
120 pattern: pep8.out
121 min: 10
122 max: 999
123 unstable: 999
124 pylint:
125 pattern: pylint.out
126 min: 10
127 max: 999
128 unstable: 999
a3fd32f1
JR
129 - email-ext:
130 recipients: '{obj:email_to}'
131 reply-to: ci-notification@lists.lttng.org
132 always: false
133 unstable: false
134 first-failure: true
135 first-unstable: true
136 not-built: false
137 aborted: false
138 regression: false
139 failure: false
140 second-failure: false
141 improvement: false
142 still-failing: false
143 success: false
144 fixed: false
145 fixed-unhealthy: true
146 still-unstable: false
147 pre-build: false
148 matrix-trigger: only-parent
149 send-to:
150 - recipients
ead62c96
MJ
151
152## Project
153- project:
154 name: lttng-analyses
51ca880a
MJ
155 github_user: lttng
156 github_name: lttng-analyses
a3fd32f1 157 email_to: 'ci-notification@lists.lttng.org, cc:jdesfossez@efficios.com'
ead62c96
MJ
158 version:
159 - master
160 jobs:
4f4f6150 161 - 'lttng-analyses_{version}_build':
16844a6d 162 arch: !!python/tuple [amd64]
fec0d441 163 babeltrace_version: !!python/tuple [stable-1.5]
21ae1ad6
MJ
164 - 'lttng-analyses_{version}_pylint':
165 babeltrace_version: stable-1.5
ead62c96 166
This page took 0.0326 seconds and 4 git commands to generate.