jjb: use bt1.5 while 2.0 is merged in master
[lttng-ci.git] / jobs / lttng-analyses.yaml
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
10 wrappers:
11 - workspace-cleanup
12 - timestamps
13 - ansicolor:
14 colormap: xterm
15 - credentials-binding:
16 - username-password-separated:
17 credential-id: lttng-analyses_codecov_token
18 username: CODECOV_PROJECT_NAME
19 password: CODECOV_TOKEN
20
21 scm:
22 - git:
23 url: git://github.com/{github_user}/{github_name}.git
24 browser: githubweb
25 browser-url: https://github.com/{github_user}/{github_name}
26 branches:
27 - origin/{version}
28 basedir: src/lttng-analyses
29 skip-tag: true
30
31 triggers:
32 - pollscm:
33 cron: "@hourly"
34
35 properties:
36 - build-discarder:
37 num-to-keep: 2
38 - github:
39 url: https://github.com/{github_user}/{github_name}
40
41
42 ## Templates
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}'
54 - axis:
55 type: user-defined
56 name: babeltrace_version
57 values: '{obj:babeltrace_version}'
58
59 builders:
60 - copyartifact:
61 project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings
62 which-build: last-successful
63 stable: false
64 filter: 'build/**'
65 target: 'deps/babeltrace'
66 - shell:
67 !include-raw-escape: scripts/lttng-analyses/build.sh
68
69 publishers:
70 # - archive:
71 # artifacts: 'build/**'
72 # allow-empty: false
73 - ircbot:
74 strategy: new-failure-and-fixed
75 matrix-notifier: only-parent
76 channels:
77 - name: '#lttng'
78
79
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:
91 project: babeltrace_{babeltrace_version}_build/arch=x86-64,build=std,conf=python-bindings
92 which-build: last-successful
93 stable: false
94 filter: 'build/**'
95 target: 'deps/babeltrace'
96 - shell:
97 !include-raw-escape: scripts/lttng-analyses/pylint.sh
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
122 github_user: lttng
123 github_name: lttng-analyses
124 version:
125 - master
126 jobs:
127 - 'lttng-analyses_{version}_build':
128 arch: !!python/tuple [x86-32, x86-64]
129 babeltrace_version: !!python/tuple [stable-1.4, stable-1.5, master]
130 - 'lttng-analyses_{version}_pylint':
131 babeltrace_version: stable-1.5
132
This page took 0.03883 seconds and 5 git commands to generate.