jjb: remove SWT_GTK3 axis from lttng-scope
[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
de41e5b5
MJ
73 - ircbot:
74 strategy: new-failure-and-fixed
75 matrix-notifier: only-parent
76 channels:
77 - name: '#lttng'
4f4f6150
MJ
78
79
ead62c96
MJ
80- job-template:
81 name: lttng-analyses_{version}_pylint
82 defaults: lttng-analyses
83 node: 'x86-64'
84
85 triggers:
86 - pollscm:
87 cron: "@daily"
88
89 builders:
90 - copyartifact:
21ae1ad6 91 project: babeltrace_{babeltrace_version}_build/arch=x86-64,build=std,conf=python-bindings
ead62c96 92 which-build: last-successful
3522265a 93 stable: false
ead62c96
MJ
94 filter: 'build/**'
95 target: 'deps/babeltrace'
96 - shell:
ef63064f 97 !include-raw-escape: scripts/lttng-analyses/pylint.sh
ead62c96
MJ
98
99 publishers:
100 - archive:
101 artifacts: 'pep8.out,pylint.out'
102 - violations:
103 pep8:
104 pattern: pep8.out
105 min: 10
106 max: 999
107 unstable: 999
108 pylint:
109 pattern: pylint.out
110 min: 10
111 max: 999
112 unstable: 999
113 - email:
114 recipients: 'ci-notification@lists.lttng.org'
115 notify-every-unstable-build: true
116 send-to-individuals: false
117
118
119## Project
120- project:
121 name: lttng-analyses
51ca880a
MJ
122 github_user: lttng
123 github_name: lttng-analyses
ead62c96
MJ
124 version:
125 - master
126 jobs:
4f4f6150
MJ
127 - 'lttng-analyses_{version}_build':
128 arch: !!python/tuple [x86-32, x86-64]
c7b16cb8 129 babeltrace_version: !!python/tuple [stable-1.5, stable-2.0, master]
21ae1ad6
MJ
130 - 'lttng-analyses_{version}_pylint':
131 babeltrace_version: stable-1.5
ead62c96 132
This page took 0.031193 seconds and 4 git commands to generate.