| 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: https://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: 10 |
| 32 | artifact-num-to-keep: 2 |
| 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 |
| 47 | name: platform |
| 48 | values: '{obj:platforms}' |
| 49 | - axis: |
| 50 | type: user-defined |
| 51 | name: liburcu_version |
| 52 | values: '{obj:liburcu_version}' |
| 53 | |
| 54 | builders: |
| 55 | - shell: |
| 56 | !include-raw-escape: scripts/lttng-ivc/build.sh |
| 57 | |
| 58 | publishers: |
| 59 | - archive: |
| 60 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
| 61 | follow-symlinks: true |
| 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 | |
| 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 |
| 102 | name: platform |
| 103 | values: '{obj:platforms}' |
| 104 | - axis: |
| 105 | type: user-defined |
| 106 | name: liburcu_version |
| 107 | values: '{obj:liburcu_version}' |
| 108 | |
| 109 | builders: |
| 110 | - shell: |
| 111 | !include-raw-escape: scripts/lttng-ivc/build.sh |
| 112 | |
| 113 | publishers: |
| 114 | - archive: |
| 115 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
| 116 | follow-symlinks: true |
| 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 | |
| 144 | ## Project |
| 145 | - project: |
| 146 | name: lttng-ivc |
| 147 | github_user: lttng |
| 148 | github_name: lttng-ivc |
| 149 | email_to: "ci-notification@lists.lttng.org" |
| 150 | version: |
| 151 | - staging |
| 152 | - master |
| 153 | jobs: |
| 154 | - 'lttng-ivc-{version}': |
| 155 | version: master |
| 156 | platforms: !!python/tuple [deb12-amd64] |
| 157 | liburcu_version: !!python/tuple [master] |
| 158 | - 'lttng-ivc-{version}': |
| 159 | version: staging |
| 160 | platforms: !!python/tuple [deb12-amd64] |
| 161 | liburcu_version: !!python/tuple [master] |
| 162 | - 'lttng-ivc-{version}-modules': |
| 163 | version: master |
| 164 | platforms: !!python/tuple [deb12-amd64] |
| 165 | slave: !!python/tuple [amd64-rootnode-linux5] |
| 166 | liburcu_version: !!python/tuple [master] |
| 167 | |