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/**' |
17e89ff6 JR |
61 | allow-empty: false |
62 | - junit: | |
63 | results: result.xml | |
64 | - workspace-cleanup | |
65 | - email-ext: | |
66 | recipients: '{obj:email_to}' | |
67 | reply-to: ci-notification@lists.lttng.org | |
68 | always: false | |
69 | unstable: false | |
70 | first-failure: true | |
71 | first-unstable: true | |
72 | not-built: false | |
73 | aborted: false | |
74 | regression: false | |
75 | failure: false | |
76 | second-failure: false | |
77 | improvement: false | |
78 | still-failing: false | |
79 | success: false | |
80 | fixed: false | |
81 | fixed-unhealthy: true | |
82 | still-unstable: false | |
83 | pre-build: false | |
84 | matrix-trigger: only-parent | |
85 | send-to: | |
86 | - recipients | |
87 | ||
ee380ea2 JR |
88 | - job-template: |
89 | name: lttng-ivc-{version}-modules | |
90 | defaults: lttng-ivc | |
91 | ||
92 | project-type: matrix | |
93 | node: 'master' # Applies only to matrix flyweight task | |
94 | axes: | |
95 | - axis: | |
96 | type: slave | |
97 | name: slave | |
98 | values: '{obj:slave}' | |
99 | - axis: | |
100 | type: user-defined | |
691f7f2d MJ |
101 | name: platform |
102 | values: '{obj:platforms}' | |
ee380ea2 JR |
103 | - axis: |
104 | type: user-defined | |
105 | name: liburcu_version | |
106 | values: '{obj:liburcu_version}' | |
107 | ||
108 | builders: | |
ee380ea2 JR |
109 | - shell: |
110 | !include-raw-escape: scripts/lttng-ivc/build.sh | |
111 | ||
112 | publishers: | |
113 | - archive: | |
5cc5f178 | 114 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
ee380ea2 JR |
115 | allow-empty: false |
116 | - junit: | |
117 | results: result.xml | |
118 | - workspace-cleanup | |
119 | - email-ext: | |
120 | recipients: '{obj:email_to}' | |
121 | reply-to: ci-notification@lists.lttng.org | |
122 | always: false | |
123 | unstable: false | |
124 | first-failure: true | |
125 | first-unstable: true | |
126 | not-built: false | |
127 | aborted: false | |
128 | regression: false | |
129 | failure: false | |
130 | second-failure: false | |
131 | improvement: false | |
132 | still-failing: false | |
133 | success: false | |
134 | fixed: false | |
135 | fixed-unhealthy: true | |
136 | still-unstable: false | |
137 | pre-build: false | |
138 | matrix-trigger: only-parent | |
139 | send-to: | |
140 | - recipients | |
141 | ||
17e89ff6 JR |
142 | ## Project |
143 | - project: | |
144 | name: lttng-ivc | |
145 | github_user: lttng | |
146 | github_name: lttng-ivc | |
691f7f2d | 147 | email_to: "ci-notification@lists.lttng.org" |
17e89ff6 JR |
148 | version: |
149 | - staging | |
150 | - master | |
151 | jobs: | |
152 | - 'lttng-ivc-{version}': | |
153 | version: master | |
691f7f2d | 154 | platforms: !!python/tuple [bionic-amd64] |
17e89ff6 JR |
155 | liburcu_version: !!python/tuple [master] |
156 | - 'lttng-ivc-{version}': | |
17e89ff6 | 157 | version: staging |
691f7f2d | 158 | platforms: !!python/tuple [bionic-amd64] |
17e89ff6 | 159 | liburcu_version: !!python/tuple [master] |
ee380ea2 | 160 | - 'lttng-ivc-{version}-modules': |
ee380ea2 | 161 | version: master |
691f7f2d | 162 | platforms: !!python/tuple [bionic-amd64] |
169bcc4a | 163 | slave: !!python/tuple [amd64-rootnode] |
ee380ea2 | 164 | liburcu_version: !!python/tuple [master] |
17e89ff6 | 165 |