| 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/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
| 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 | - job-template: |
| 94 | name: lttng-ivc-{version}-modules |
| 95 | defaults: lttng-ivc |
| 96 | |
| 97 | project-type: matrix |
| 98 | node: 'master' # Applies only to matrix flyweight task |
| 99 | axes: |
| 100 | - axis: |
| 101 | type: slave |
| 102 | name: slave |
| 103 | values: '{obj:slave}' |
| 104 | - axis: |
| 105 | type: user-defined |
| 106 | name: arch |
| 107 | values: '{obj:arch}' |
| 108 | - axis: |
| 109 | type: user-defined |
| 110 | name: liburcu_version |
| 111 | values: '{obj:liburcu_version}' |
| 112 | |
| 113 | builders: |
| 114 | - copyartifact: |
| 115 | project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std |
| 116 | which-build: last-successful |
| 117 | stable: false |
| 118 | filter: 'build/**' |
| 119 | target: 'deps/liburcu' |
| 120 | - shell: |
| 121 | !include-raw-escape: scripts/lttng-ivc/build.sh |
| 122 | |
| 123 | publishers: |
| 124 | - archive: |
| 125 | artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' |
| 126 | allow-empty: false |
| 127 | - junit: |
| 128 | results: result.xml |
| 129 | - workspace-cleanup |
| 130 | - email-ext: |
| 131 | recipients: '{obj:email_to}' |
| 132 | reply-to: ci-notification@lists.lttng.org |
| 133 | always: false |
| 134 | unstable: false |
| 135 | first-failure: true |
| 136 | first-unstable: true |
| 137 | not-built: false |
| 138 | aborted: false |
| 139 | regression: false |
| 140 | failure: false |
| 141 | second-failure: false |
| 142 | improvement: false |
| 143 | still-failing: false |
| 144 | success: false |
| 145 | fixed: false |
| 146 | fixed-unhealthy: true |
| 147 | still-unstable: false |
| 148 | pre-build: false |
| 149 | matrix-trigger: only-parent |
| 150 | send-to: |
| 151 | - recipients |
| 152 | |
| 153 | ## Project |
| 154 | - project: |
| 155 | name: lttng-ivc |
| 156 | github_user: lttng |
| 157 | github_name: lttng-ivc |
| 158 | email_to: "ci-notification@lists.lttng.org, cc:joraj@efficios.com" |
| 159 | version: |
| 160 | - staging |
| 161 | - master |
| 162 | jobs: |
| 163 | - 'lttng-ivc-{version}': |
| 164 | version: master |
| 165 | arch: !!python/tuple [amd64] |
| 166 | liburcu_version: !!python/tuple [master] |
| 167 | - 'lttng-ivc-{version}': |
| 168 | # Send only to maintainer |
| 169 | email_to: "joraj@efficios.com" |
| 170 | version: staging |
| 171 | arch: !!python/tuple [amd64] |
| 172 | liburcu_version: !!python/tuple [master] |
| 173 | - 'lttng-ivc-{version}-modules': |
| 174 | # Send only to maintainer |
| 175 | email_to: "joraj@efficios.com" |
| 176 | version: master |
| 177 | arch: !!python/tuple [amd64] |
| 178 | slave: !!python/tuple [amd64-rootnode] |
| 179 | liburcu_version: !!python/tuple [master] |
| 180 | |