| 1 | - defaults: |
| 2 | name: tracecompass |
| 3 | description: | |
| 4 | Nightly build of Trace Compass. |
| 5 | |
| 6 | <p>Job is managed by Jenkins Job Builder.</p> |
| 7 | |
| 8 | project-type: freestyle |
| 9 | |
| 10 | logrotate: |
| 11 | numToKeep: 2 |
| 12 | |
| 13 | wrappers: |
| 14 | - workspace-cleanup |
| 15 | - timestamps |
| 16 | - ansicolor |
| 17 | |
| 18 | scm: |
| 19 | - git: |
| 20 | url: git://github.com/{github_user}/{github_name}.git |
| 21 | browser: githubweb |
| 22 | browser-url: https://github.com/{github_user}/{github_name} |
| 23 | branches: |
| 24 | - origin/{version} |
| 25 | |
| 26 | triggers: |
| 27 | - pollscm: |
| 28 | cron: "@hourly" |
| 29 | |
| 30 | properties: |
| 31 | - github: |
| 32 | url: https://github.com/{github_user}/{github_name} |
| 33 | |
| 34 | |
| 35 | ## Templates |
| 36 | - job-template: |
| 37 | name: tracecompass_{version}_build |
| 38 | defaults: tracecompass |
| 39 | |
| 40 | project-type: matrix |
| 41 | node: 'master' # Applies only to matrix flyweight task |
| 42 | axes: |
| 43 | - axis: |
| 44 | type: slave |
| 45 | name: arch |
| 46 | values: '{obj:arch}' |
| 47 | - axis: |
| 48 | type: user-defined |
| 49 | name: wm |
| 50 | values: '{obj:wm}' |
| 51 | - axis: |
| 52 | type: user-defined |
| 53 | name: SWT_GTK3 |
| 54 | values: |
| 55 | - "0" |
| 56 | - "1" |
| 57 | - axis: |
| 58 | type: user-defined |
| 59 | name: target-platform |
| 60 | values: '{obj:target_platform}' |
| 61 | - axis: |
| 62 | type: user-defined |
| 63 | name: java_version |
| 64 | values: '{obj:java_version}' |
| 65 | |
| 66 | wrappers: |
| 67 | - workspace-cleanup |
| 68 | - timestamps |
| 69 | - ansicolor |
| 70 | - xvfb: |
| 71 | installation-name: xvfb |
| 72 | auto-display-name: true |
| 73 | parallel-build: false |
| 74 | screen: 1024x768x24 |
| 75 | - timeout: |
| 76 | timeout: 120 |
| 77 | fail: true |
| 78 | type: absolute |
| 79 | - env-script: |
| 80 | script-content: |
| 81 | !include-raw-escape: scripts/tracecompass/set-java-home.sh |
| 82 | |
| 83 | builders: |
| 84 | - shell: |
| 85 | !include-raw-escape: scripts/tracecompass/launch-wm.sh |
| 86 | - maven-target: |
| 87 | maven-version: "Maven 3.3.3" |
| 88 | goals: "-version" |
| 89 | private-repository: true |
| 90 | - maven-target: |
| 91 | maven-version: "Maven 3.3.3" |
| 92 | goals: clean install -Pctf-grammar,build-rcp |
| 93 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 94 | properties: |
| 95 | - maven.test.failure.ignore=true |
| 96 | - eclipse.p2.mirrors=false |
| 97 | |
| 98 | publishers: |
| 99 | - archive: |
| 100 | artifacts: 'releng/org.eclipse.tracecompass.releng-site/target/repository/**,rcp/org.eclipse.tracecompass.rcp.product/target/repository/**' |
| 101 | allow-empty: false |
| 102 | only-if-success: true |
| 103 | - junit: |
| 104 | results: '**/*.test*/target/surefire-reports/*.xml' |
| 105 | - workspace-cleanup |
| 106 | - email-ext: |
| 107 | recipients: alex@voxpopuli.im |
| 108 | matrix-trigger: only-parent |
| 109 | - ircbot: |
| 110 | strategy: new-failure-and-fixed |
| 111 | matrix-notifier: only-parent |
| 112 | channels: |
| 113 | - name: '#efficios' |
| 114 | |
| 115 | |
| 116 | - job-template: |
| 117 | name: tracecompass_{version}_winbuild |
| 118 | defaults: tracecompass |
| 119 | |
| 120 | project-type: matrix |
| 121 | node: 'master' # Applies only to matrix flyweight task |
| 122 | axes: |
| 123 | - axis: |
| 124 | type: slave |
| 125 | name: arch |
| 126 | values: '{obj:arch}' |
| 127 | - axis: |
| 128 | type: user-defined |
| 129 | name: target-platform |
| 130 | values: '{obj:target_platform}' |
| 131 | |
| 132 | scm: |
| 133 | - git: |
| 134 | #url: git://github.com/tracecompass/tracecompass.git |
| 135 | url: git://github.com/alexmonthy/tracecompass.git |
| 136 | browser: githubweb |
| 137 | browser-url: https://github.com/tracecompass/tracecompass |
| 138 | branches: |
| 139 | - origin/{version} |
| 140 | git-tool: 'jgit' # Use jgit on windows to work around path too long |
| 141 | |
| 142 | wrappers: |
| 143 | - workspace-cleanup |
| 144 | - timestamps |
| 145 | - ansicolor |
| 146 | - timeout: |
| 147 | timeout: 120 |
| 148 | fail: true |
| 149 | type: absolute |
| 150 | |
| 151 | builders: |
| 152 | - maven-target: |
| 153 | maven-version: "Maven 3.3.3" |
| 154 | goals: clean install -Pctf-grammar,build-rcp |
| 155 | private-repository: true |
| 156 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig1447974054868' |
| 157 | properties: |
| 158 | - maven.test.failure.ignore=true |
| 159 | - eclipse.p2.mirrors=false |
| 160 | |
| 161 | publishers: |
| 162 | - archive: |
| 163 | artifacts: 'releng/org.eclipse.tracecompass.releng-site/target/repository/**,rcp/org.eclipse.tracecompass.rcp.product/target/repository/**' |
| 164 | allow-empty: false |
| 165 | only-if-success: true |
| 166 | - junit: |
| 167 | results: '**/*.test*/target/surefire-reports/*.xml' |
| 168 | - workspace-cleanup |
| 169 | - email-ext: |
| 170 | recipients: alex@voxpopuli.im |
| 171 | matrix-trigger: only-parent |
| 172 | - ircbot: |
| 173 | strategy: new-failure-and-fixed |
| 174 | matrix-notifier: only-parent |
| 175 | channels: |
| 176 | - name: '#efficios' |
| 177 | |
| 178 | |
| 179 | - job-template: |
| 180 | name: tracecompass_{version}_macosxbuild |
| 181 | defaults: tracecompass |
| 182 | |
| 183 | project-type: matrix |
| 184 | node: 'master' # Applies only to matrix flyweight task |
| 185 | axes: |
| 186 | - axis: |
| 187 | type: user-defined |
| 188 | name: target-platform |
| 189 | values: '{obj:target_platform}' |
| 190 | |
| 191 | wrappers: |
| 192 | - workspace-cleanup |
| 193 | - timestamps |
| 194 | - ansicolor |
| 195 | - timeout: |
| 196 | timeout: 120 |
| 197 | fail: true |
| 198 | type: absolute |
| 199 | |
| 200 | builders: |
| 201 | - maven-target: |
| 202 | maven-version: "Maven 3.3.3" |
| 203 | goals: "-version" |
| 204 | private-repository: true |
| 205 | - maven-target: |
| 206 | maven-version: "Maven 3.3.3" |
| 207 | goals: clean install -Pctf-grammar,build-rcp |
| 208 | private-repository: true |
| 209 | properties: |
| 210 | - maven.test.failure.ignore=true |
| 211 | - eclipse.p2.mirrors=false |
| 212 | |
| 213 | publishers: |
| 214 | - archive: |
| 215 | artifacts: 'releng/org.eclipse.tracecompass.releng-site/target/repository/**,rcp/org.eclipse.tracecompass.rcp.product/target/repository/**' |
| 216 | allow-empty: false |
| 217 | only-if-success: true |
| 218 | - junit: |
| 219 | results: '**/*.test*/target/surefire-reports/*.xml' |
| 220 | - workspace-cleanup |
| 221 | - email-ext: |
| 222 | recipients: alex@voxpopuli.im |
| 223 | matrix-trigger: only-parent |
| 224 | - ircbot: |
| 225 | strategy: new-failure-and-fixed |
| 226 | matrix-notifier: only-parent |
| 227 | channels: |
| 228 | - name: '#efficios' |
| 229 | |
| 230 | |
| 231 | ## Project |
| 232 | - project: |
| 233 | name: tracecompass |
| 234 | github_user: alexmonthy |
| 235 | github_name: tracecompass |
| 236 | version: |
| 237 | - master |
| 238 | - tc-next |
| 239 | jobs: |
| 240 | - 'tracecompass_{version}_build': |
| 241 | arch: !!python/tuple [x86-32, x86-64] |
| 242 | wm: !!python/tuple [metacity, unity] |
| 243 | target_platform: !!python/tuple [tracecompass-e4.5, tracecompass-eStaging] |
| 244 | java_version: !!python/tuple [java-8-openjdk] |
| 245 | |
| 246 | - 'tracecompass_{version}_winbuild': |
| 247 | arch: !!python/tuple [win64] |
| 248 | target_platform: !!python/tuple [tracecompass-e4.5, tracecompass-eStaging] |
| 249 | |
| 250 | - 'tracecompass_{version}_macosxbuild': |
| 251 | arch: !!python/tuple [macosx] |
| 252 | target_platform: !!python/tuple [tracecompass-e4.5, tracecompass-eStaging] |
| 253 | |