lttng-analyses: checkout sources in a subdirectory
[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 logrotate:
11 daysToKeep: -1
12 numToKeep: 2
13 artifactDaysToKeep: -1
14 artifactNumToKeep: -1
15
16 wrappers:
17 - workspace-cleanup
18 - timestamps
19 - ansicolor:
20 colormap: xterm
21
22 scm:
23 - git:
24 url: git://github.com/{github_user}/{github_name}.git
25 browser: githubweb
26 browser-url: https://github.com/{github_user}/{github_name}
27 branches:
28 - origin/{version}
29 basedir: src/lttng-analyses
30
31 triggers:
32 - pollscm:
33 cron: "@hourly"
34
35 properties:
36 - github:
37 url: https://github.com/{github_user}/{github_name}
38
39
40 ## Templates
41 - job-template:
42 name: lttng-analyses_{version}_build
43 defaults: lttng-analyses
44
45 project-type: matrix
46 node: 'master' # Applies only to matrix flyweight task
47 axes:
48 - axis:
49 type: slave
50 name: arch
51 values: '{obj:arch}'
52
53 builders:
54 - copyartifact:
55 project: babeltrace_master_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 - 'lttng-analyses_{version}_pylint'
119
This page took 0.0995 seconds and 5 git commands to generate.