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