Commit | Line | Data |
---|---|---|
17e89ff6 JR |
1 | - defaults: |
2 | name: lttng-ivc | |
3 | description: | | |
4 | LTTng Inter Version Compatibility test suite. | |
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: | |
4d27af8f | 18 | url: https://github.com/{github_user}/{github_name}.git |
17e89ff6 JR |
19 | browser: githubweb |
20 | browser-url: https://github.com/{github_user}/{github_name} | |
21 | branches: | |
22 | - origin/{version} | |
23 | basedir: src | |
24 | skip-tag: true | |
25 | ||
26 | triggers: | |
27 | - timed: "@daily" | |
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-ivc-{version} | |
39 | defaults: lttng-ivc | |
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: liburcu_version | |
51 | values: '{obj:liburcu_version}' | |
52 | ||
53 | builders: | |
17e89ff6 JR |
54 | - shell: |
55 | !include-raw-escape: scripts/lttng-ivc/build.sh | |
56 | ||
57 | publishers: | |
58 | - archive: | |
5cc5f178 | 59 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
17e89ff6 JR |
60 | allow-empty: false |
61 | - junit: | |
62 | results: result.xml | |
63 | - workspace-cleanup | |
64 | - email-ext: | |
65 | recipients: '{obj:email_to}' | |
66 | reply-to: ci-notification@lists.lttng.org | |
67 | always: false | |
68 | unstable: false | |
69 | first-failure: true | |
70 | first-unstable: true | |
71 | not-built: false | |
72 | aborted: false | |
73 | regression: false | |
74 | failure: false | |
75 | second-failure: false | |
76 | improvement: false | |
77 | still-failing: false | |
78 | success: false | |
79 | fixed: false | |
80 | fixed-unhealthy: true | |
81 | still-unstable: false | |
82 | pre-build: false | |
83 | matrix-trigger: only-parent | |
84 | send-to: | |
85 | - recipients | |
86 | ||
ee380ea2 JR |
87 | - job-template: |
88 | name: lttng-ivc-{version}-modules | |
89 | defaults: lttng-ivc | |
90 | ||
91 | project-type: matrix | |
92 | node: 'master' # Applies only to matrix flyweight task | |
93 | axes: | |
94 | - axis: | |
95 | type: slave | |
96 | name: slave | |
97 | values: '{obj:slave}' | |
98 | - axis: | |
99 | type: user-defined | |
100 | name: arch | |
101 | values: '{obj:arch}' | |
102 | - axis: | |
103 | type: user-defined | |
104 | name: liburcu_version | |
105 | values: '{obj:liburcu_version}' | |
106 | ||
107 | builders: | |
ee380ea2 JR |
108 | - shell: |
109 | !include-raw-escape: scripts/lttng-ivc/build.sh | |
110 | ||
111 | publishers: | |
112 | - archive: | |
5cc5f178 | 113 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
ee380ea2 JR |
114 | allow-empty: false |
115 | - junit: | |
116 | results: result.xml | |
117 | - workspace-cleanup | |
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 | ||
17e89ff6 JR |
141 | ## Project |
142 | - project: | |
143 | name: lttng-ivc | |
144 | github_user: lttng | |
145 | github_name: lttng-ivc | |
146 | email_to: "ci-notification@lists.lttng.org, cc:joraj@efficios.com" | |
147 | version: | |
148 | - staging | |
149 | - master | |
150 | jobs: | |
151 | - 'lttng-ivc-{version}': | |
152 | version: master | |
16844a6d | 153 | arch: !!python/tuple [amd64] |
17e89ff6 JR |
154 | liburcu_version: !!python/tuple [master] |
155 | - 'lttng-ivc-{version}': | |
156 | # Send only to maintainer | |
157 | email_to: "joraj@efficios.com" | |
158 | version: staging | |
16844a6d | 159 | arch: !!python/tuple [amd64] |
17e89ff6 | 160 | liburcu_version: !!python/tuple [master] |
ee380ea2 JR |
161 | - 'lttng-ivc-{version}-modules': |
162 | # Send only to maintainer | |
163 | email_to: "joraj@efficios.com" | |
164 | version: master | |
16844a6d | 165 | arch: !!python/tuple [amd64] |
169bcc4a | 166 | slave: !!python/tuple [amd64-rootnode] |
ee380ea2 | 167 | liburcu_version: !!python/tuple [master] |
17e89ff6 | 168 |