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: | |
3b228cdd MJ |
31 | num-to-keep: 10 |
32 | artifact-num-to-keep: 2 | |
17e89ff6 JR |
33 | - github: |
34 | url: https://github.com/{github_user}/{github_name} | |
35 | ||
36 | ||
37 | ## Templates | |
38 | - job-template: | |
39 | name: lttng-ivc-{version} | |
40 | defaults: lttng-ivc | |
41 | ||
42 | project-type: matrix | |
43 | node: 'master' # Applies only to matrix flyweight task | |
44 | axes: | |
45 | - axis: | |
46 | type: slave | |
691f7f2d MJ |
47 | name: platform |
48 | values: '{obj:platforms}' | |
17e89ff6 JR |
49 | - axis: |
50 | type: user-defined | |
51 | name: liburcu_version | |
52 | values: '{obj:liburcu_version}' | |
53 | ||
54 | builders: | |
17e89ff6 JR |
55 | - shell: |
56 | !include-raw-escape: scripts/lttng-ivc/build.sh | |
57 | ||
58 | publishers: | |
59 | - archive: | |
5cc5f178 | 60 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
23f01bc3 | 61 | follow-symlinks: true |
17e89ff6 JR |
62 | allow-empty: false |
63 | - junit: | |
64 | results: result.xml | |
65 | - workspace-cleanup | |
66 | - email-ext: | |
67 | recipients: '{obj:email_to}' | |
68 | reply-to: ci-notification@lists.lttng.org | |
69 | always: false | |
70 | unstable: false | |
71 | first-failure: true | |
72 | first-unstable: true | |
73 | not-built: false | |
74 | aborted: false | |
75 | regression: false | |
76 | failure: false | |
77 | second-failure: false | |
78 | improvement: false | |
79 | still-failing: false | |
80 | success: false | |
81 | fixed: false | |
82 | fixed-unhealthy: true | |
83 | still-unstable: false | |
84 | pre-build: false | |
85 | matrix-trigger: only-parent | |
86 | send-to: | |
87 | - recipients | |
88 | ||
ee380ea2 JR |
89 | - job-template: |
90 | name: lttng-ivc-{version}-modules | |
91 | defaults: lttng-ivc | |
92 | ||
93 | project-type: matrix | |
94 | node: 'master' # Applies only to matrix flyweight task | |
95 | axes: | |
96 | - axis: | |
97 | type: slave | |
98 | name: slave | |
99 | values: '{obj:slave}' | |
100 | - axis: | |
101 | type: user-defined | |
691f7f2d MJ |
102 | name: platform |
103 | values: '{obj:platforms}' | |
ee380ea2 JR |
104 | - axis: |
105 | type: user-defined | |
106 | name: liburcu_version | |
107 | values: '{obj:liburcu_version}' | |
108 | ||
109 | builders: | |
ee380ea2 JR |
110 | - shell: |
111 | !include-raw-escape: scripts/lttng-ivc/build.sh | |
112 | ||
113 | publishers: | |
114 | - archive: | |
5cc5f178 | 115 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
23f01bc3 | 116 | follow-symlinks: true |
ee380ea2 JR |
117 | allow-empty: false |
118 | - junit: | |
119 | results: result.xml | |
120 | - workspace-cleanup | |
121 | - email-ext: | |
122 | recipients: '{obj:email_to}' | |
123 | reply-to: ci-notification@lists.lttng.org | |
124 | always: false | |
125 | unstable: false | |
126 | first-failure: true | |
127 | first-unstable: true | |
128 | not-built: false | |
129 | aborted: false | |
130 | regression: false | |
131 | failure: false | |
132 | second-failure: false | |
133 | improvement: false | |
134 | still-failing: false | |
135 | success: false | |
136 | fixed: false | |
137 | fixed-unhealthy: true | |
138 | still-unstable: false | |
139 | pre-build: false | |
140 | matrix-trigger: only-parent | |
141 | send-to: | |
142 | - recipients | |
143 | ||
17e89ff6 JR |
144 | ## Project |
145 | - project: | |
146 | name: lttng-ivc | |
96a75bba | 147 | github_user: lttng |
17e89ff6 | 148 | github_name: lttng-ivc |
691f7f2d | 149 | email_to: "ci-notification@lists.lttng.org" |
17e89ff6 JR |
150 | version: |
151 | - staging | |
152 | - master | |
153 | jobs: | |
154 | - 'lttng-ivc-{version}': | |
155 | version: master | |
4ce5a709 | 156 | platforms: !!python/tuple [deb12-amd64] |
17e89ff6 JR |
157 | liburcu_version: !!python/tuple [master] |
158 | - 'lttng-ivc-{version}': | |
17e89ff6 | 159 | version: staging |
4ce5a709 | 160 | platforms: !!python/tuple [deb12-amd64] |
17e89ff6 | 161 | liburcu_version: !!python/tuple [master] |
ee380ea2 | 162 | - 'lttng-ivc-{version}-modules': |
ee380ea2 | 163 | version: master |
4ce5a709 | 164 | platforms: !!python/tuple [deb12-amd64] |
1f14ee5a | 165 | slave: !!python/tuple [amd64-rootnode-linux5] |
ee380ea2 | 166 | liburcu_version: !!python/tuple [master] |
17e89ff6 | 167 |