Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1 | --- |
| 2 | - job-template: |
| 3 | # Job template for Java verify jobs |
| 4 | # |
| 5 | # The purpose of this job template is to run "maven clean install" for |
| 6 | # projects using this template. |
| 7 | # |
| 8 | # Required Variables: |
| 9 | # branch: git branch (eg. stable/lithium or master) |
| 10 | |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 11 | name: '{project-name}-{stream}-verify-java-skip-tests' |
| 12 | |
| 13 | project-type: freestyle |
| 14 | concurrent: true |
| 15 | node: '{build-node}' |
| 16 | |
| 17 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 18 | - infra-properties: |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 19 | build-days-to-keep: '{build-days-to-keep}' |
| 20 | |
| 21 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 22 | - infra-parameters: |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 23 | project: '{project}' |
| 24 | branch: '{branch}' |
| 25 | refspec: 'refs/heads/{branch}' |
| 26 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 27 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 28 | maven-version: '{maven-version}' |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 29 | |
| 30 | scm: |
| 31 | - gerrit-trigger-scm: |
| 32 | refspec: '$GERRIT_REFSPEC' |
| 33 | choosing-strategy: 'gerrit' |
| 34 | |
| 35 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 36 | - infra-wrappers: |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 37 | build-timeout: '{build-timeout}' |
| 38 | |
| 39 | triggers: |
| 40 | - gerrit-trigger-patch-submitted: |
| 41 | server: '{server-name}' |
| 42 | project: '{project}' |
| 43 | branch: '{branch}' |
| 44 | files: '**' |
| 45 | |
| 46 | builders: |
| 47 | - provide-maven-settings: |
| 48 | global-settings-file: 'global-settings' |
| 49 | settings-file: '{mvn-settings}' |
| 50 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 51 | maven-version: '{maven-version}' |
Timoney, Daniel (dt5972) | a9dced7 | 2017-02-19 09:06:23 -0500 | [diff] [blame] | 52 | goals: 'clean install -DskipTests=true' |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 53 | settings: '{mvn-settings}' |
| 54 | settings-type: cfp |
| 55 | global-settings: 'global-settings' |
| 56 | global-settings-type: cfp |
| 57 | maven-opts: |
| 58 | - maven.test.skip=true |
| 59 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 60 | publishers: |
| 61 | - infra-shiplogs: |
| 62 | maven-version: '{maven-version}' |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 63 | |
| 64 | |
| 65 | - job-template: |
| 66 | # Job template for Java verify jobs |
| 67 | # |
| 68 | # The purpose of this job template is to run "maven clean install" for |
| 69 | # projects using this template. |
| 70 | # |
| 71 | # Required Variables: |
| 72 | # branch: git branch (eg. stable/lithium or master) |
| 73 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 74 | name: '{project-name}-{stream}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 75 | |
| 76 | project-type: freestyle |
| 77 | concurrent: true |
| 78 | node: '{build-node}' |
| 79 | |
| 80 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 81 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 82 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 83 | |
| 84 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 85 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 86 | project: '{project}' |
| 87 | branch: '{branch}' |
| 88 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 89 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 90 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 91 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 92 | |
| 93 | scm: |
| 94 | - gerrit-trigger-scm: |
| 95 | refspec: '$GERRIT_REFSPEC' |
| 96 | choosing-strategy: 'gerrit' |
| 97 | |
| 98 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 99 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 100 | build-timeout: '{build-timeout}' |
| 101 | |
| 102 | triggers: |
| 103 | - gerrit-trigger-patch-submitted: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 104 | server: '{server-name}' |
| 105 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 106 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 107 | files: '**' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 108 | |
| 109 | builders: |
| 110 | - provide-maven-settings: |
| 111 | global-settings-file: 'global-settings' |
| 112 | settings-file: '{mvn-settings}' |
| 113 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 114 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 115 | goals: 'clean install' |
| 116 | settings: '{mvn-settings}' |
| 117 | settings-type: cfp |
| 118 | global-settings: 'global-settings' |
| 119 | global-settings-type: cfp |
| 120 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 121 | publishers: |
| 122 | - infra-shiplogs: |
| 123 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 124 | |
| 125 | - job-template: |
| 126 | # Job template for Java verify jobs with POM not at the root |
| 127 | # |
| 128 | # The purpose of this job template is to run "maven clean install" for |
| 129 | # projects using this template. |
| 130 | # |
| 131 | # Required Variables: |
| 132 | # branch: git branch (eg. stable/lithium or master) |
| 133 | # pom: name/location of the pom.xml file relative to the workspace |
| 134 | # pattern: ant file-path pattern relative to the workspace used to |
| 135 | # trigger the job |
| 136 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 137 | name: '{project-name}-{stream}-{subproject}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 138 | |
| 139 | project-type: freestyle |
| 140 | concurrent: true |
| 141 | node: '{build-node}' |
| 142 | |
| 143 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 144 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 145 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 146 | |
| 147 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 148 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 149 | project: '{project}' |
| 150 | branch: '{branch}' |
| 151 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 152 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 153 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 154 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 155 | |
| 156 | scm: |
| 157 | - gerrit-trigger-scm: |
| 158 | refspec: '$GERRIT_REFSPEC' |
| 159 | choosing-strategy: 'gerrit' |
| 160 | |
| 161 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 162 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 163 | build-timeout: '{build-timeout}' |
| 164 | |
| 165 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 166 | - gerrit-trigger-patch-submitted: |
| 167 | server: '{server-name}' |
| 168 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 169 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 170 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 171 | |
| 172 | builders: |
| 173 | - provide-maven-settings: |
| 174 | global-settings-file: 'global-settings' |
| 175 | settings-file: '{mvn-settings}' |
| 176 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 177 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 178 | pom: '{pom}' |
| 179 | goals: 'clean install' |
| 180 | settings: '{mvn-settings}' |
| 181 | settings-type: cfp |
| 182 | global-settings: 'global-settings' |
| 183 | global-settings-type: cfp |
| 184 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 185 | publishers: |
| 186 | - infra-shiplogs: |
| 187 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 188 | |
| 189 | - job-template: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 190 | # Job template for Java daily release jobs |
| 191 | # |
Andrew Grimberg | 24443ee | 2017-02-02 08:29:12 -0800 | [diff] [blame] | 192 | # The purpose of this job template is to run "maven version && maven clean |
| 193 | # deploy" for projects using this template. |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 194 | # |
| 195 | # Required Variables: |
| 196 | # branch: git branch (eg. stable/lithium or master) |
| 197 | name: '{project-name}-{stream}-release-java-daily' |
| 198 | |
| 199 | project-type: freestyle |
| 200 | node: '{build-node}' |
| 201 | maven-deploy-properties: |
| 202 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 203 | - infra-properties: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 204 | build-days-to-keep: '{build-days-to-keep}' |
| 205 | |
| 206 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 207 | - infra-parameters: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 208 | project: '{project}' |
| 209 | branch: '{branch}' |
| 210 | refspec: 'refs/heads/{branch}' |
| 211 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 212 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 213 | maven-version: '{maven-version}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 214 | |
| 215 | scm: |
| 216 | - gerrit-trigger-scm: |
| 217 | refspec: '' |
| 218 | choosing-strategy: 'default' |
| 219 | |
| 220 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 221 | - infra-wrappers: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 222 | build-timeout: '{build-timeout}' |
| 223 | |
| 224 | triggers: |
| 225 | # 11 AM UTC |
| 226 | - timed: 'H 11 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 227 | - gerrit-trigger-release-manually: |
| 228 | server: '{server-name}' |
| 229 | project: '{project}' |
| 230 | branch: '{branch}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 231 | |
| 232 | builders: |
| 233 | - provide-maven-settings: |
| 234 | global-settings-file: 'global-settings' |
| 235 | settings-file: '{mvn-settings}' |
| 236 | |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 237 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 238 | maven-version: '{maven-version}' |
Andrew Grimberg | 93274ad | 2017-02-24 13:50:16 -0800 | [diff] [blame] | 239 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 240 | properties: |
| 241 | - '{maven-deploy-properties}' |
| 242 | settings: '{mvn-settings}' |
| 243 | settings-type: cfp |
| 244 | global-settings: 'global-settings' |
| 245 | global-settings-type: cfp |
| 246 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 247 | publishers: |
| 248 | - infra-shiplogs: |
| 249 | maven-version: '{maven-version}' |
| 250 | |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 251 | - job-template: |
| 252 | # Job template for Java daily release jobs |
| 253 | # |
| 254 | # The purpose of this job template is to run "maven version && maven clean |
| 255 | # deploy" for projects using this template. |
| 256 | # |
| 257 | # Required Variables: |
| 258 | # branch: git branch (eg. stable/lithium or master) |
| 259 | name: '{project-name}-{stream}-release-version-java-daily' |
| 260 | |
| 261 | project-type: freestyle |
| 262 | node: '{build-node}' |
| 263 | maven-deploy-properties: |
| 264 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 265 | - infra-properties: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 266 | build-days-to-keep: '{build-days-to-keep}' |
| 267 | |
| 268 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 269 | - infra-parameters: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 270 | project: '{project}' |
| 271 | branch: '{branch}' |
| 272 | refspec: 'refs/heads/{branch}' |
| 273 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 274 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 275 | maven-version: '{maven-version}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 276 | |
| 277 | scm: |
| 278 | - gerrit-trigger-scm: |
| 279 | refspec: '' |
| 280 | choosing-strategy: 'default' |
| 281 | |
| 282 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 283 | - infra-wrappers: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 284 | build-timeout: '{build-timeout}' |
| 285 | |
| 286 | triggers: |
| 287 | # 11 AM UTC |
| 288 | - timed: 'H 11 * * *' |
| 289 | - gerrit-trigger-release-manually: |
| 290 | server: '{server-name}' |
| 291 | project: '{project}' |
| 292 | branch: '{branch}' |
| 293 | |
| 294 | builders: |
| 295 | - provide-maven-settings: |
| 296 | global-settings-file: 'global-settings' |
| 297 | settings-file: '{mvn-settings}' |
| 298 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 299 | - inject: |
| 300 | properties-file: version.properties |
| 301 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 302 | maven-version: '{maven-version}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 303 | goals: 'versions:set versions:update-child-modules versions:commit' |
| 304 | properties: |
| 305 | - 'newVersion=${{release_version}}' |
| 306 | settings: '{mvn-settings}' |
| 307 | settings-type: cfp |
| 308 | global-settings: 'global-settings' |
| 309 | global-settings-type: cfp |
| 310 | |
| 311 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 312 | maven-version: '{maven-version}' |
Andrew Grimberg | 93274ad | 2017-02-24 13:50:16 -0800 | [diff] [blame] | 313 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}' |
Andrew Grimberg | 24443ee | 2017-02-02 08:29:12 -0800 | [diff] [blame] | 314 | properties: |
| 315 | - '{maven-deploy-properties}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 316 | settings: '{mvn-settings}' |
| 317 | settings-type: cfp |
| 318 | global-settings: 'global-settings' |
| 319 | global-settings-type: cfp |
| 320 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 321 | publishers: |
| 322 | - infra-shiplogs: |
| 323 | maven-version: '{maven-version}' |
| 324 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 325 | - job-template: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 326 | # Job template for Java daily release jobs with POM not at the root |
| 327 | # |
| 328 | # The purpose of this job template is to run "maven version && maven clean |
| 329 | # deploy" for projects using this template. |
| 330 | # |
| 331 | # Required Variables: |
| 332 | # branch: git branch (eg. stable/lithium or master) |
| 333 | # pom: name/location of the pom.xml file relative to the workspace |
| 334 | |
| 335 | |
| 336 | name: '{project-name}-{stream}-{subproject}-release-java-daily' |
| 337 | |
| 338 | project-type: freestyle |
| 339 | node: '{build-node}' |
| 340 | maven-deploy-properties: |
| 341 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 342 | - infra-properties: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 343 | build-days-to-keep: '{build-days-to-keep}' |
| 344 | |
| 345 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 346 | - infra-parameters: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 347 | project: '{project}' |
| 348 | branch: '{branch}' |
| 349 | refspec: 'refs/heads/{branch}' |
| 350 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 351 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 352 | maven-version: '{maven-version}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 353 | |
| 354 | scm: |
| 355 | - gerrit-trigger-scm: |
| 356 | refspec: '' |
| 357 | choosing-strategy: 'default' |
| 358 | |
| 359 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 360 | - infra-wrappers: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 361 | build-timeout: '{build-timeout}' |
| 362 | |
| 363 | triggers: |
| 364 | # 11 AM UTC |
| 365 | - timed: 'H 11 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 366 | - gerrit-trigger-release-manually: |
| 367 | server: '{server-name}' |
| 368 | project: '{project}' |
| 369 | branch: '{branch}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 370 | |
| 371 | builders: |
| 372 | - provide-maven-settings: |
| 373 | global-settings-file: 'global-settings' |
| 374 | settings-file: '{mvn-settings}' |
| 375 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 376 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 377 | maven-version: '{maven-version}' |
Carsten Lund | 63cd3b8 | 2017-02-18 18:19:22 +0000 | [diff] [blame] | 378 | pom: '{pom}' |
Andrew Grimberg | 93274ad | 2017-02-24 13:50:16 -0800 | [diff] [blame] | 379 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 380 | properties: |
| 381 | - '{maven-deploy-properties}' |
| 382 | settings: '{mvn-settings}' |
| 383 | settings-type: cfp |
| 384 | global-settings: 'global-settings' |
| 385 | global-settings-type: cfp |
| 386 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 387 | publishers: |
| 388 | - infra-shiplogs: |
| 389 | maven-version: '{maven-version}' |
| 390 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 391 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 392 | # Job template for Java merge jobs |
| 393 | # |
| 394 | # The purpose of this job template is to run "maven clean deploy" for |
| 395 | # projects using this template. |
| 396 | # |
| 397 | # Required Variables: |
| 398 | # branch: git branch (eg. stable/lithium or master) |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 399 | name: '{project-name}-{stream}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 400 | |
| 401 | project-type: freestyle |
| 402 | node: '{build-node}' |
| 403 | |
| 404 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 405 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 406 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 407 | |
| 408 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 409 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 410 | project: '{project}' |
| 411 | branch: '{branch}' |
| 412 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 413 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 414 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 415 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 416 | |
| 417 | scm: |
| 418 | - gerrit-trigger-scm: |
| 419 | refspec: '' |
| 420 | choosing-strategy: 'default' |
| 421 | |
| 422 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 423 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 424 | build-timeout: '{build-timeout}' |
| 425 | |
| 426 | triggers: |
| 427 | - gerrit-trigger-patch-merged: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 428 | server: '{server-name}' |
| 429 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 430 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 431 | files: '**' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 432 | |
| 433 | builders: |
| 434 | - provide-maven-settings: |
| 435 | global-settings-file: 'global-settings' |
| 436 | settings-file: '{mvn-settings}' |
| 437 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 438 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 439 | # yamllint disable rule:line-length |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 440 | goals: 'clean deploy' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 441 | # yamllint enable |
| 442 | settings: '{mvn-settings}' |
| 443 | settings-type: cfp |
| 444 | global-settings: 'global-settings' |
| 445 | global-settings-type: cfp |
| 446 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 447 | publishers: |
| 448 | - infra-shiplogs: |
| 449 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 450 | |
| 451 | - job-template: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 452 | # Job template for Java merge jobs that should also be triggered by upstream |
| 453 | # merges |
| 454 | # |
| 455 | # Required Variables: |
| 456 | # stream: release stream |
| 457 | # branch: git branch |
| 458 | # dependencies: fully qualified upstream job name to trigger on |
| 459 | # this may be '' |
| 460 | name: '{project-name}-{stream}-downstream-merge-java' |
| 461 | |
| 462 | project-type: freestyle |
| 463 | node: '{build-node}' |
| 464 | |
| 465 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 466 | - infra-properties: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 467 | build-days-to-keep: '{build-days-to-keep}' |
| 468 | |
| 469 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 470 | - infra-parameters: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 471 | project: '{project}' |
| 472 | branch: '{branch}' |
| 473 | refspec: 'refs/heads/{branch}' |
| 474 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 475 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 476 | maven-version: '{maven-version}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 477 | |
| 478 | scm: |
| 479 | - gerrit-trigger-scm: |
| 480 | refspec: '' |
| 481 | choosing-strategy: 'default' |
| 482 | |
| 483 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 484 | - infra-wrappers: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 485 | build-timeout: '{build-timeout}' |
| 486 | |
| 487 | triggers: |
| 488 | - reverse: |
| 489 | jobs: '{dependencies}' |
| 490 | result: 'success' |
| 491 | - gerrit-trigger-patch-merged: |
| 492 | server: '{server-name}' |
| 493 | project: '{project}' |
| 494 | branch: '{branch}' |
| 495 | files: '**' |
| 496 | |
| 497 | builders: |
| 498 | - provide-maven-settings: |
| 499 | global-settings-file: 'global-settings' |
| 500 | settings-file: '{mvn-settings}' |
| 501 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 502 | maven-version: '{maven-version}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 503 | # yamllint disable rule:line-length |
| 504 | goals: 'clean deploy' |
| 505 | # yamllint enable |
| 506 | settings: '{mvn-settings}' |
| 507 | settings-type: cfp |
| 508 | global-settings: 'global-settings' |
| 509 | global-settings-type: cfp |
| 510 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 511 | publishers: |
| 512 | - infra-shiplogs: |
| 513 | maven-version: '{maven-version}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 514 | |
| 515 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 516 | # Job template for Java merge jobs with POM not at the root |
| 517 | # |
| 518 | # The purpose of this job template is to run "maven clean deploy" for |
| 519 | # projects using this template. |
| 520 | # |
| 521 | # Required Variables: |
| 522 | # branch: git branch (eg. stable/lithium or master) |
| 523 | # pom: name/location of the pom.xml file relative to the workspace |
| 524 | # pattern: ant file-path pattern relative to the workspace used to |
| 525 | # trigger the job |
| 526 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 527 | name: '{project-name}-{stream}-{subproject}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 528 | |
| 529 | project-type: freestyle |
| 530 | node: '{build-node}' |
| 531 | |
| 532 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 533 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 534 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 535 | |
| 536 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 537 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 538 | project: '{project}' |
| 539 | branch: '{branch}' |
| 540 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 541 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 542 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 543 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 544 | |
| 545 | scm: |
| 546 | - gerrit-trigger-scm: |
| 547 | refspec: '' |
| 548 | choosing-strategy: 'default' |
| 549 | |
| 550 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 551 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 552 | build-timeout: '{build-timeout}' |
| 553 | |
| 554 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 555 | - gerrit-trigger-patch-merged: |
| 556 | server: '{server-name}' |
| 557 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 558 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 559 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 560 | |
| 561 | builders: |
| 562 | - provide-maven-settings: |
| 563 | global-settings-file: 'global-settings' |
| 564 | settings-file: '{mvn-settings}' |
| 565 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 566 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 567 | pom: '{pom}' |
| 568 | # yamllint disable rule:line-length |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 569 | goals: 'clean deploy' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 570 | # yamllint enable |
| 571 | settings: '{mvn-settings}' |
| 572 | settings-type: cfp |
| 573 | global-settings: 'global-settings' |
| 574 | global-settings-type: cfp |
| 575 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 576 | publishers: |
| 577 | - infra-shiplogs: |
| 578 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 579 | |
| 580 | - job-template: |
| 581 | name: '{project-name}-{stream}-docker-java-daily' |
| 582 | project-type: freestyle |
Andrew Grimberg | 2137b1d | 2017-02-15 07:24:53 -0800 | [diff] [blame] | 583 | node: 'ubuntu1604-docker-8c-8g' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 584 | |
| 585 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 586 | - infra-properties: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 587 | build-days-to-keep: '{build-days-to-keep}' |
| 588 | |
| 589 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 590 | - infra-parameters: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 591 | project: '{project}' |
| 592 | branch: '{branch}' |
| 593 | refspec: 'refs/heads/{branch}' |
| 594 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 595 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 596 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 597 | |
| 598 | scm: |
| 599 | - gerrit-trigger-scm: |
| 600 | refspec: '' |
| 601 | choosing-strategy: 'default' |
| 602 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 603 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 604 | - infra-wrappers: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 605 | build-timeout: '{build-timeout}' |
| 606 | |
| 607 | triggers: |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 608 | # 12 AM UTC |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 609 | - timed: 'H 12 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 610 | - gerrit-trigger-release-manually: |
| 611 | server: '{server-name}' |
| 612 | project: '{project}' |
| 613 | branch: '{branch}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 614 | |
| 615 | builders: |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 616 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 617 | - provide-maven-settings: |
| 618 | global-settings-file: 'global-settings' |
| 619 | settings-file: '{mvn-settings}' |
Anaël Closson | 7313fea | 2017-02-14 15:56:21 +0100 | [diff] [blame] | 620 | |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 621 | - docker-login |
| 622 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 623 | - maven-docker-push-daily: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 624 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 625 | mvn-settings: '{mvn-settings}' |
| 626 | pom: '{docker-pom}' |
Anaël Closson | 30a5c77 | 2017-02-16 15:02:56 +0100 | [diff] [blame] | 627 | # use default as mvn-profile if profile is not needed |
| 628 | mvn-profile: '{mvn-profile}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 629 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 630 | publishers: |
| 631 | - infra-shiplogs: |
| 632 | maven-version: '{maven-version}' |
| 633 | |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 634 | - job-template: |
| 635 | name: '{project-name}-{stream}-docker-java-shell-daily' |
| 636 | project-type: freestyle |
| 637 | node: 'ubuntu1604-docker-8c-8g' |
| 638 | |
| 639 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 640 | - infra-properties: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 641 | build-days-to-keep: '{build-days-to-keep}' |
| 642 | |
| 643 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 644 | - infra-parameters: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 645 | project: '{project}' |
| 646 | branch: '{branch}' |
| 647 | refspec: 'refs/heads/{branch}' |
| 648 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 649 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 650 | maven-version: '{maven-version}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 651 | |
| 652 | scm: |
| 653 | - gerrit-trigger-scm: |
| 654 | refspec: '' |
| 655 | choosing-strategy: 'default' |
| 656 | |
| 657 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 658 | - infra-wrappers: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 659 | build-timeout: '{build-timeout}' |
| 660 | |
| 661 | triggers: |
| 662 | # 12 AM UTC |
| 663 | - timed: 'H 12 * * *' |
| 664 | - gerrit-trigger-release-manually: |
| 665 | server: '{server-name}' |
| 666 | project: '{project}' |
| 667 | branch: '{branch}' |
| 668 | |
| 669 | builders: |
| 670 | |
| 671 | - provide-maven-settings: |
| 672 | global-settings-file: 'global-settings' |
| 673 | settings-file: '{mvn-settings}' |
| 674 | |
| 675 | - docker-login |
| 676 | |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 677 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 678 | maven-version: '{maven-version}' |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 679 | goals: '{mvn-goals}' |
| 680 | settings: '{mvn-settings}' |
| 681 | settings-type: cfp |
| 682 | global-settings: 'global-settings' |
| 683 | global-settings-type: cfp |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 684 | |
| 685 | - shell: '{script}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 686 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 687 | publishers: |
| 688 | - infra-shiplogs: |
| 689 | maven-version: '{maven-version}' |
| 690 | |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 691 | - job-template: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 692 | name: '{project-name}-{stream}-docker-java-version-shell-daily' |
| 693 | project-type: freestyle |
| 694 | node: 'ubuntu1604-docker-8c-8g' |
| 695 | |
| 696 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 697 | - infra-properties: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 698 | build-days-to-keep: '{build-days-to-keep}' |
| 699 | |
| 700 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 701 | - infra-parameters: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 702 | project: '{project}' |
| 703 | branch: '{branch}' |
| 704 | refspec: 'refs/heads/{branch}' |
| 705 | artifacts: '{archive-artifacts}' |
| 706 | - maven-exec: |
| 707 | maven-version: '{maven-version}' |
| 708 | |
| 709 | scm: |
| 710 | - gerrit-trigger-scm: |
| 711 | refspec: '' |
| 712 | choosing-strategy: 'default' |
| 713 | |
| 714 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 715 | - infra-wrappers: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 716 | build-timeout: '{build-timeout}' |
| 717 | |
| 718 | triggers: |
| 719 | # 12 AM UTC |
| 720 | - timed: 'H 12 * * *' |
| 721 | - gerrit-trigger-release-manually: |
| 722 | server: '{server-name}' |
| 723 | project: '{project}' |
| 724 | branch: '{branch}' |
| 725 | |
| 726 | builders: |
| 727 | |
| 728 | - provide-maven-settings: |
| 729 | global-settings-file: 'global-settings' |
| 730 | settings-file: '{mvn-settings}' |
| 731 | |
| 732 | - inject: |
| 733 | properties-file: version.properties |
| 734 | |
| 735 | - maven-target: |
| 736 | maven-version: '{maven-version}' |
| 737 | goals: 'versions:set versions:update-child-modules versions:commit' |
| 738 | properties: |
| 739 | - 'newVersion=${{release_version}}' |
| 740 | settings: '{mvn-settings}' |
| 741 | settings-type: cfp |
| 742 | global-settings: 'global-settings' |
| 743 | global-settings-type: cfp |
| 744 | |
| 745 | - docker-login |
| 746 | |
| 747 | - maven-target: |
| 748 | maven-version: '{maven-version}' |
| 749 | goals: '{mvn-goals}' |
| 750 | settings: '{mvn-settings}' |
| 751 | settings-type: cfp |
| 752 | global-settings: 'global-settings' |
| 753 | global-settings-type: cfp |
| 754 | |
| 755 | - shell: '{script}' |
| 756 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 757 | publishers: |
| 758 | - infra-shiplogs: |
| 759 | maven-version: '{maven-version}' |
| 760 | |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 761 | - job-template: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 762 | name: '{project-name}-{stream}-docker-version-java-daily' |
| 763 | project-type: freestyle |
| 764 | node: 'ubuntu1604-docker-8c-8g' |
| 765 | |
| 766 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 767 | - infra-properties: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 768 | build-days-to-keep: '{build-days-to-keep}' |
| 769 | |
| 770 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 771 | - infra-parameters: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 772 | project: '{project}' |
| 773 | branch: '{branch}' |
| 774 | refspec: 'refs/heads/{branch}' |
| 775 | artifacts: '{archive-artifacts}' |
| 776 | - maven-exec: |
| 777 | maven-version: '{maven-version}' |
| 778 | |
| 779 | scm: |
| 780 | - gerrit-trigger-scm: |
| 781 | refspec: '' |
| 782 | choosing-strategy: 'default' |
| 783 | |
| 784 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 785 | - infra-wrappers: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 786 | build-timeout: '{build-timeout}' |
| 787 | |
| 788 | triggers: |
| 789 | # 12 AM UTC |
| 790 | - timed: 'H 12 * * *' |
| 791 | - gerrit-trigger-release-manually: |
| 792 | server: '{server-name}' |
| 793 | project: '{project}' |
| 794 | branch: '{branch}' |
| 795 | |
| 796 | builders: |
| 797 | |
| 798 | - provide-maven-settings: |
| 799 | global-settings-file: 'global-settings' |
| 800 | settings-file: '{mvn-settings}' |
| 801 | |
| 802 | - inject: |
| 803 | properties-file: version.properties |
| 804 | |
| 805 | - maven-target: |
| 806 | maven-version: '{maven-version}' |
| 807 | goals: 'versions:set versions:update-child-modules versions:commit' |
| 808 | properties: |
| 809 | - 'newVersion=${{release_version}}' |
| 810 | settings: '{mvn-settings}' |
| 811 | settings-type: cfp |
| 812 | global-settings: 'global-settings' |
| 813 | global-settings-type: cfp |
| 814 | |
| 815 | - docker-login |
| 816 | |
| 817 | - maven-docker-push-daily: |
| 818 | maven-version: '{maven-version}' |
| 819 | mvn-settings: '{mvn-settings}' |
| 820 | pom: '{docker-pom}' |
| 821 | # use default as mvn-profile if profile is not needed |
| 822 | mvn-profile: '{mvn-profile}' |
| 823 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 824 | publishers: |
| 825 | - infra-shiplogs: |
| 826 | maven-version: '{maven-version}' |
| 827 | |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 828 | - job-template: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 829 | name: '{project-name}-{stream}-aai-docker-java-daily' |
| 830 | project-type: freestyle |
| 831 | node: 'ubuntu1604-docker-8c-8g' |
| 832 | |
| 833 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 834 | - infra-properties: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 835 | build-days-to-keep: '{build-days-to-keep}' |
| 836 | |
| 837 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 838 | - infra-parameters: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 839 | project: '{project}' |
| 840 | branch: '{branch}' |
| 841 | refspec: 'refs/heads/{branch}' |
| 842 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 843 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 844 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 845 | |
| 846 | scm: |
| 847 | - gerrit-trigger-scm: |
| 848 | refspec: '' |
| 849 | choosing-strategy: 'default' |
| 850 | |
| 851 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 852 | - infra-wrappers: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 853 | build-timeout: '{build-timeout}' |
| 854 | |
| 855 | triggers: |
| 856 | # 12 AM UTC |
| 857 | - timed: 'H 12 * * *' |
| 858 | - gerrit-trigger-release-manually: |
| 859 | server: '{server-name}' |
| 860 | project: '{project}' |
| 861 | branch: '{branch}' |
| 862 | |
| 863 | builders: |
| 864 | |
| 865 | - provide-maven-settings: |
| 866 | global-settings-file: 'global-settings' |
| 867 | settings-file: '{mvn-settings}' |
| 868 | |
| 869 | - docker-login |
| 870 | |
| 871 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 872 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 873 | pom: 'pom.xml' |
| 874 | goals: 'clean install -DskipTests' |
| 875 | settings: '{mvn-settings}' |
| 876 | settings-type: cfp |
| 877 | global-settings: 'global-settings' |
| 878 | global-settings-type: cfp |
| 879 | |
| 880 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 881 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 882 | pom: '{pom}' |
| 883 | goals: '{mvn-goals}' |
| 884 | settings: '{mvn-settings}' |
| 885 | settings-type: cfp |
| 886 | global-settings: 'global-settings' |
| 887 | global-settings-type: cfp |
| 888 | properties: |
| 889 | - maven.test.skip=true |
Jeremy Phelps | 48028ab | 2017-03-28 15:38:24 -0500 | [diff] [blame] | 890 | - docker.pull.registry=nexus3.onap.org:10001 |
| 891 | - docker.push.registry=nexus3.onap.org:10003 |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 892 | |
Venkata Harish K Kajur | bf07d0a | 2017-03-26 11:58:15 +0000 | [diff] [blame] | 893 | - shell: !include-raw-escape: include-docker-push.sh |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 894 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 895 | publishers: |
| 896 | - infra-shiplogs: |
| 897 | maven-version: '{maven-version}' |
| 898 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 899 | - job-template: |
| 900 | # Job template for Java daily release jobs |
| 901 | # |
| 902 | # The purpose of this job template is to run |
| 903 | # - change version in all POM files to the release version specified |
| 904 | # in version.properties. This is done using a script instread of |
| 905 | # the mvn version plugin that assumes some specific parent structure. |
| 906 | # - runs maven clean deploy sonar |
| 907 | # |
| 908 | # The POM files are required to use the Maven staging plugin so the deploy |
| 909 | # does not deploy directly to the release repo. |
| 910 | # |
| 911 | # Required Variables: |
| 912 | # branch: git branch (eg. stable/lithium or master) |
| 913 | name: '{project-name}-{stream}-release-version2-java-daily' |
| 914 | |
| 915 | project-type: freestyle |
| 916 | node: '{build-node}' |
| 917 | maven-deploy-properties: |
| 918 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 919 | - infra-properties: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 920 | build-days-to-keep: '{build-days-to-keep}' |
| 921 | |
| 922 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 923 | - infra-parameters: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 924 | project: '{project}' |
| 925 | branch: '{branch}' |
| 926 | refspec: 'refs/heads/{branch}' |
| 927 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 928 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 929 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 930 | |
| 931 | scm: |
| 932 | - gerrit-trigger-scm: |
| 933 | refspec: '' |
| 934 | choosing-strategy: 'default' |
| 935 | |
| 936 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 937 | - infra-wrappers: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 938 | build-timeout: '{build-timeout}' |
| 939 | |
| 940 | triggers: |
| 941 | # 11 AM UTC |
| 942 | - timed: 'H 11 * * *' |
| 943 | - gerrit-trigger-release-manually: |
| 944 | server: '{server-name}' |
| 945 | project: '{project}' |
| 946 | branch: '{branch}' |
| 947 | |
| 948 | builders: |
| 949 | - provide-maven-settings: |
| 950 | global-settings-file: 'global-settings' |
| 951 | settings-file: '{mvn-settings}' |
Andrew Grimberg | b7f1615 | 2017-02-24 13:13:15 -0800 | [diff] [blame] | 952 | - maven-install: |
| 953 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 954 | |
| 955 | - inject: |
| 956 | properties-file: version.properties |
| 957 | |
| 958 | - shell: !include-raw-escape: include-update-pom-versions.sh |
| 959 | |
| 960 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 961 | maven-version: '{maven-version}' |
Carsten Lund | 6a9a259 | 2017-04-06 15:09:03 +0000 | [diff] [blame] | 962 | goals: 'clean deploy sonar:sonar site:site site:stage-deploy -Dsonar.host.url=${{SONAR}}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 963 | properties: |
| 964 | - '{maven-deploy-properties}' |
| 965 | settings: '{mvn-settings}' |
| 966 | settings-type: cfp |
| 967 | global-settings: 'global-settings' |
| 968 | global-settings-type: cfp |
| 969 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 970 | publishers: |
| 971 | - infra-shiplogs: |
| 972 | maven-version: '{maven-version}' |
| 973 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 974 | - job-template: |
| 975 | # Job template for Java daily release jobs |
| 976 | # |
| 977 | # The purpose of this job template is to run |
| 978 | # - change version in all POM files to the release version specified |
| 979 | # in version.properties. This is done using a script instread of |
| 980 | # the mvn version plugin that assumes some specific parent structure. |
| 981 | # - runs maven clean deploy sonar |
| 982 | # |
| 983 | # The POM files are required to use the Maven staging plugin so the deploy |
| 984 | # does not deploy directly to the release repo. |
| 985 | # |
| 986 | # Required Variables: |
| 987 | # branch: git branch (eg. stable/lithium or master) |
| 988 | # pom: name/location of the pom.xml file relative to the workspace |
| 989 | # pattern: ant file-path pattern relative to the workspace used to |
| 990 | # trigger the job |
| 991 | |
| 992 | name: '{project-name}-{stream}-{subproject}-release-version2-java-daily' |
| 993 | |
| 994 | project-type: freestyle |
| 995 | node: '{build-node}' |
| 996 | maven-deploy-properties: |
| 997 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 998 | - infra-properties: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 999 | build-days-to-keep: '{build-days-to-keep}' |
| 1000 | |
| 1001 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1002 | - infra-parameters: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1003 | project: '{project}' |
| 1004 | branch: '{branch}' |
| 1005 | refspec: 'refs/heads/{branch}' |
| 1006 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1007 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1008 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1009 | |
| 1010 | scm: |
| 1011 | - gerrit-trigger-scm: |
| 1012 | refspec: '' |
| 1013 | choosing-strategy: 'default' |
| 1014 | |
| 1015 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1016 | - infra-wrappers: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1017 | build-timeout: '{build-timeout}' |
| 1018 | |
| 1019 | triggers: |
| 1020 | # 11 AM UTC |
| 1021 | - timed: 'H 11 * * *' |
| 1022 | - gerrit-trigger-release-manually: |
| 1023 | server: '{server-name}' |
| 1024 | project: '{project}' |
| 1025 | branch: '{branch}' |
| 1026 | files: '{pattern}' |
| 1027 | |
| 1028 | builders: |
| 1029 | - provide-maven-settings: |
| 1030 | global-settings-file: 'global-settings' |
| 1031 | settings-file: '{mvn-settings}' |
Andrew Grimberg | b7f1615 | 2017-02-24 13:13:15 -0800 | [diff] [blame] | 1032 | - maven-install: |
| 1033 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1034 | |
| 1035 | - inject: |
| 1036 | properties-file: version.properties |
| 1037 | |
| 1038 | - shell: !include-raw-escape: include-update-pom-versions.sh |
| 1039 | |
| 1040 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1041 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1042 | pom: '{pom}' |
Carsten Lund | 6a9a259 | 2017-04-06 15:09:03 +0000 | [diff] [blame] | 1043 | goals: 'clean deploy sonar:sonar site:site site:stage-deploy -Dsonar.host.url=${{SONAR}}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1044 | properties: |
| 1045 | - '{maven-deploy-properties}' |
| 1046 | settings: '{mvn-settings}' |
| 1047 | settings-type: cfp |
| 1048 | global-settings: 'global-settings' |
| 1049 | global-settings-type: cfp |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1050 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1051 | publishers: |
| 1052 | - infra-shiplogs: |
| 1053 | maven-version: '{maven-version}' |
| 1054 | |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1055 | - job-template: |
| 1056 | # Template for maven site plugin invocation |
| 1057 | # |
| 1058 | # It's designed to be triggered when the trigger-job job |
| 1059 | # succeeds as there's no need for new documentaiton |
| 1060 | # if the build job fails. |
| 1061 | # |
| 1062 | # Those parameters should be set : |
| 1063 | # - site-pom : the pom file that contains the site confiration |
| 1064 | # - trigger-job : the name of the project that triggers this job |
| 1065 | # upon success. The job name can be |
| 1066 | # parameterized. |
| 1067 | name: '{project-name}-{stream}-stage-site-java' |
| 1068 | project-type: freestyle |
Anaël Closson | b8c5fb5 | 2017-03-14 15:43:18 +0100 | [diff] [blame] | 1069 | node: '{build-node}' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1070 | |
| 1071 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1072 | - infra-properties: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1073 | build-days-to-keep: '{build-days-to-keep}' |
| 1074 | |
| 1075 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1076 | - infra-parameters: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1077 | project: '{project}' |
| 1078 | branch: '{branch}' |
| 1079 | refspec: 'refs/heads/{branch}' |
| 1080 | artifacts: '{archive-artifacts}' |
| 1081 | - maven-exec: |
| 1082 | maven-version: '{maven-version}' |
| 1083 | |
| 1084 | scm: |
| 1085 | - gerrit-trigger-scm: |
| 1086 | refspec: '' |
| 1087 | choosing-strategy: 'default' |
| 1088 | |
| 1089 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1090 | - infra-wrappers: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1091 | build-timeout: '{build-timeout}' |
| 1092 | |
| 1093 | triggers: |
| 1094 | - trigger-on-build-success: |
| 1095 | job-name: '{trigger-job}' |
| 1096 | |
| 1097 | builders: |
| 1098 | - provide-maven-settings: |
| 1099 | global-settings-file: 'global-settings' |
| 1100 | settings-file: '{mvn-settings}' |
Anaël Closson | 0916684 | 2017-03-15 11:19:40 +0100 | [diff] [blame] | 1101 | - inject: |
| 1102 | properties-file: version.properties |
| 1103 | - maven-target: |
| 1104 | maven-version: '{maven-version}' |
| 1105 | goals: 'versions:set versions:update-child-modules versions:commit' |
| 1106 | properties: |
| 1107 | - 'newVersion=${{release_version}}' |
| 1108 | settings: '{mvn-settings}' |
| 1109 | settings-type: cfp |
| 1110 | global-settings: 'global-settings' |
| 1111 | global-settings-type: cfp |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1112 | |
| 1113 | - maven-target: |
| 1114 | maven-version: '{maven-version}' |
Anaël Closson | 03222ed | 2017-03-13 16:37:09 +0100 | [diff] [blame] | 1115 | pom: '{site-pom}' |
Anaël Closson | b7c8aa3 | 2017-03-14 15:50:20 +0100 | [diff] [blame] | 1116 | goals: 'clean site:site site:stage-deploy' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1117 | settings: '{mvn-settings}' |
| 1118 | settings-type: cfp |
| 1119 | global-settings: 'global-settings' |
| 1120 | global-settings-type: cfp |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1121 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1122 | publishers: |
| 1123 | - infra-shiplogs: |
| 1124 | maven-version: '{maven-version}' |
| 1125 | |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1126 | - job-template: |
| 1127 | # Job template for Java merge jobs |
| 1128 | # |
| 1129 | # The purpose of this job template is to run "maven clean deploy" for |
| 1130 | # projects using this template. |
| 1131 | # |
| 1132 | # Required Variables: |
| 1133 | # branch: git branch (eg. stable/lithium or master) |
| 1134 | name: '{project-name}-{stream}-sdc-merge-java' |
| 1135 | |
| 1136 | project-type: freestyle |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1137 | node: 'ubuntu1604-docker-8c-8g' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1138 | |
| 1139 | properties: |
| 1140 | - infra-properties: |
| 1141 | build-days-to-keep: '{build-days-to-keep}' |
| 1142 | |
| 1143 | parameters: |
| 1144 | - infra-parameters: |
| 1145 | project: '{project}' |
| 1146 | branch: '{branch}' |
| 1147 | refspec: 'refs/heads/{branch}' |
| 1148 | artifacts: '{archive-artifacts}' |
| 1149 | - maven-exec: |
| 1150 | maven-version: '{maven-version}' |
| 1151 | |
| 1152 | scm: |
| 1153 | - gerrit-trigger-scm: |
| 1154 | refspec: '' |
| 1155 | choosing-strategy: 'default' |
| 1156 | |
| 1157 | wrappers: |
| 1158 | - infra-wrappers: |
| 1159 | build-timeout: '{build-timeout}' |
| 1160 | |
| 1161 | triggers: |
| 1162 | - gerrit-trigger-patch-merged: |
| 1163 | server: '{server-name}' |
| 1164 | project: '{project}' |
| 1165 | branch: '{branch}' |
| 1166 | files: '**' |
| 1167 | |
| 1168 | builders: |
| 1169 | - provide-maven-settings: |
| 1170 | global-settings-file: 'global-settings' |
| 1171 | settings-file: '{mvn-settings}' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1172 | |
| 1173 | - docker-login |
| 1174 | |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1175 | - maven-docker-push-daily: |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1176 | maven-version: '{maven-version}' |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1177 | mvn-settings: '{mvn-settings}' |
| 1178 | pom: '{docker-pom}' |
| 1179 | # use default as mvn-profile if profile is not needed |
| 1180 | mvn-profile: '{mvn-profile}' |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1181 | |
| 1182 | publishers: |
| 1183 | - infra-shiplogs: |
| 1184 | maven-version: '{maven-version}' |