jjb: Add macosxbuild and solarisbuild to lttng-tools
[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
15
16 scm:
17 - git:
51ca880a 18 url: git://github.com/{github_user}/{github_name}.git
ead62c96 19 browser: githubweb
51ca880a 20 browser-url: https://github.com/{github_user}/{github_name}
ead62c96
MJ
21 branches:
22 - origin/{version}
673cb703 23 basedir: src/lttng-analyses
ead62c96
MJ
24
25 triggers:
26 - pollscm:
27 cron: "@hourly"
28
29 properties:
edf72710
MJ
30 - build-discarder:
31 num-to-keep: 2
ead62c96 32 - github:
51ca880a 33 url: https://github.com/{github_user}/{github_name}
ead62c96
MJ
34
35
36## Templates
4f4f6150
MJ
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}'
a37a1ee0
MJ
48 - axis:
49 type: user-defined
50 name: babeltrace_version
51 values: '{obj:babeltrace_version}'
4f4f6150
MJ
52
53 builders:
54 - copyartifact:
a37a1ee0 55 project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings
4f4f6150
MJ
56 which-build: last-successful
57 stable: true
58 filter: 'build/**'
59 target: 'deps/babeltrace'
60 - shell:
ef63064f 61 !include-raw-escape: scripts/lttng-analyses/build.sh
4f4f6150
MJ
62
63# publishers:
64# - archive:
65# artifacts: 'build/**'
66# allow-empty: false
67
68
ead62c96
MJ
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:
b330701d 80 project: babeltrace_master_build/arch=x86-64,build=std,conf=python-bindings
ead62c96
MJ
81 which-build: last-successful
82 stable: true
83 filter: 'build/**'
84 target: 'deps/babeltrace'
85 - shell:
ef63064f 86 !include-raw-escape: scripts/lttng-analyses/pylint.sh
ead62c96
MJ
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
51ca880a
MJ
111 github_user: lttng
112 github_name: lttng-analyses
ead62c96
MJ
113 version:
114 - master
115 jobs:
4f4f6150
MJ
116 - 'lttng-analyses_{version}_build':
117 arch: !!python/tuple [x86-32, x86-64]
a37a1ee0 118 babeltrace_version: !!python/tuple [stable-1.3, stable-1.4, master]
ead62c96
MJ
119 - 'lttng-analyses_{version}_pylint'
120
This page took 0.046369 seconds and 4 git commands to generate.