jjb: Use the https protocol for checkouts on Github, it's faster
[lttng-ci.git] / jobs / lttng-analyses.yaml
... / ...
CommitLineData
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: https://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 - email-ext:
74 recipients: '{obj:email_to}'
75 reply-to: ci-notification@lists.lttng.org
76 always: false
77 unstable: false
78 first-failure: true
79 first-unstable: true
80 not-built: false
81 aborted: false
82 regression: false
83 failure: false
84 second-failure: false
85 improvement: false
86 still-failing: false
87 success: false
88 fixed: false
89 fixed-unhealthy: true
90 still-unstable: false
91 pre-build: false
92 matrix-trigger: only-parent
93 send-to:
94 - recipients
95
96- job-template:
97 name: lttng-analyses_{version}_pylint
98 defaults: lttng-analyses
99 node: 'amd64'
100
101 triggers:
102 - pollscm:
103 cron: "@daily"
104
105 builders:
106 - copyartifact:
107 project: babeltrace_{babeltrace_version}_build/arch=amd64,build=std,conf=python-bindings
108 which-build: last-successful
109 stable: false
110 filter: 'build/**'
111 target: 'deps/babeltrace'
112 - shell:
113 !include-raw-escape: scripts/lttng-analyses/pylint.sh
114
115 publishers:
116 - archive:
117 artifacts: 'pep8.out,pylint.out'
118 - email-ext:
119 recipients: '{obj:email_to}'
120 reply-to: ci-notification@lists.lttng.org
121 always: false
122 unstable: false
123 first-failure: true
124 first-unstable: true
125 not-built: false
126 aborted: false
127 regression: false
128 failure: false
129 second-failure: false
130 improvement: false
131 still-failing: false
132 success: false
133 fixed: false
134 fixed-unhealthy: true
135 still-unstable: false
136 pre-build: false
137 matrix-trigger: only-parent
138 send-to:
139 - recipients
140
141## Project
142- project:
143 name: lttng-analyses
144 github_user: lttng
145 github_name: lttng-analyses
146 email_to: 'ci-notification@lists.lttng.org'
147 version:
148 - master
149 jobs:
150 - 'lttng-analyses_{version}_build':
151 arch: !!python/tuple [amd64]
152 babeltrace_version: !!python/tuple [stable-1.5]
153 - 'lttng-analyses_{version}_pylint':
154 babeltrace_version: stable-1.5
155
This page took 0.022709 seconds and 4 git commands to generate.