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: | |
18 | url: git://github.com/{github_user}/{github_name}.git | |
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: | |
54 | - copyartifact: | |
55 | project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std | |
56 | which-build: last-successful | |
57 | stable: false | |
58 | filter: 'build/**' | |
59 | target: 'deps/liburcu' | |
60 | - shell: | |
61 | !include-raw-escape: scripts/lttng-ivc/build.sh | |
62 | ||
63 | publishers: | |
64 | - archive: | |
65 | artifacts: 'artifacts/**' | |
66 | allow-empty: false | |
67 | - junit: | |
68 | results: result.xml | |
69 | - workspace-cleanup | |
70 | - email-ext: | |
71 | recipients: '{obj:email_to}' | |
72 | reply-to: ci-notification@lists.lttng.org | |
73 | always: false | |
74 | unstable: false | |
75 | first-failure: true | |
76 | first-unstable: true | |
77 | not-built: false | |
78 | aborted: false | |
79 | regression: false | |
80 | failure: false | |
81 | second-failure: false | |
82 | improvement: false | |
83 | still-failing: false | |
84 | success: false | |
85 | fixed: false | |
86 | fixed-unhealthy: true | |
87 | still-unstable: false | |
88 | pre-build: false | |
89 | matrix-trigger: only-parent | |
90 | send-to: | |
91 | - recipients | |
92 | ||
93 | ## Project | |
94 | - project: | |
95 | name: lttng-ivc | |
96 | github_user: lttng | |
97 | github_name: lttng-ivc | |
98 | email_to: "ci-notification@lists.lttng.org, cc:joraj@efficios.com" | |
99 | version: | |
100 | - staging | |
101 | - master | |
102 | jobs: | |
103 | - 'lttng-ivc-{version}': | |
104 | version: master | |
105 | arch: !!python/tuple [x86-32, x86-64] | |
106 | liburcu_version: !!python/tuple [master] | |
107 | - 'lttng-ivc-{version}': | |
108 | # Send only to maintainer | |
109 | email_to: "joraj@efficios.com" | |
110 | version: staging | |
111 | arch: !!python/tuple [x86-32, x86-64] | |
112 | liburcu_version: !!python/tuple [master] | |
113 |