jjb: logrotate is deprecated
[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
16 scm:
17 - git:
18 url: git://github.com/{github_user}/{github_name}.git
19 browser: githubweb
20 browser-url: https://github.com/{github_user}/{github_name}
21 branches:
22 - origin/{version}
23 basedir: src/lttng-analyses
24
25 triggers:
26 - pollscm:
27 cron: "@hourly"
28
29 properties:
30 - build-discarder:
31 num-to-keep: 2
32 - github:
33 url: https://github.com/{github_user}/{github_name}
34
35
36 ## Templates
37 - job-template:
38 name: lttng-analyses_{version}_build
39 defaults: lttng-analyses
40
41 project-type: matrix
42 node: 'master' # Applies only to matrix flyweight task
43 axes:
44 - axis:
45 type: slave
46 name: arch
47 values: '{obj:arch}'
48 - axis:
49 type: user-defined
50 name: babeltrace_version
51 values: '{obj:babeltrace_version}'
52
53 builders:
54 - copyartifact:
55 project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings
56 which-build: last-successful
57 stable: true
58 filter: 'build/**'
59 target: 'deps/babeltrace'
60 - shell:
61 !include-raw-escape: scripts/lttng-analyses/build.sh
62
63 # publishers:
64 # - archive:
65 # artifacts: 'build/**'
66 # allow-empty: false
67
68
69 - job-template:
70 name: lttng-analyses_{version}_pylint
71 defaults: lttng-analyses
72 node: 'x86-64'
73
74 triggers:
75 - pollscm:
76 cron: "@daily"
77
78 builders:
79 - copyartifact:
80 project: babeltrace_master_build/arch=x86-64,build=std,conf=python-bindings
81 which-build: last-successful
82 stable: true
83 filter: 'build/**'
84 target: 'deps/babeltrace'
85 - shell:
86 !include-raw-escape: scripts/lttng-analyses/pylint.sh
87
88 publishers:
89 - archive:
90 artifacts: 'pep8.out,pylint.out'
91 - violations:
92 pep8:
93 pattern: pep8.out
94 min: 10
95 max: 999
96 unstable: 999
97 pylint:
98 pattern: pylint.out
99 min: 10
100 max: 999
101 unstable: 999
102 - email:
103 recipients: 'ci-notification@lists.lttng.org'
104 notify-every-unstable-build: true
105 send-to-individuals: false
106
107
108 ## Project
109 - project:
110 name: lttng-analyses
111 github_user: lttng
112 github_name: lttng-analyses
113 version:
114 - master
115 jobs:
116 - 'lttng-analyses_{version}_build':
117 arch: !!python/tuple [x86-32, x86-64]
118 babeltrace_version: !!python/tuple [stable-1.3, stable-1.4, master]
119 - 'lttng-analyses_{version}_pylint'
120
This page took 0.031319 seconds and 4 git commands to generate.