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' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 34 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 35 | |
| 36 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 37 | - infra-wrappers: |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 38 | build-timeout: '{build-timeout}' |
| 39 | |
| 40 | triggers: |
| 41 | - gerrit-trigger-patch-submitted: |
| 42 | server: '{server-name}' |
| 43 | project: '{project}' |
| 44 | branch: '{branch}' |
| 45 | files: '**' |
| 46 | |
| 47 | builders: |
| 48 | - provide-maven-settings: |
| 49 | global-settings-file: 'global-settings' |
| 50 | settings-file: '{mvn-settings}' |
| 51 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 52 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 53 | goals: 'clean install -DskipTests=true -B |
| 54 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 55 | settings: '{mvn-settings}' |
| 56 | settings-type: cfp |
| 57 | global-settings: 'global-settings' |
| 58 | global-settings-type: cfp |
| 59 | maven-opts: |
| 60 | - maven.test.skip=true |
| 61 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 62 | publishers: |
| 63 | - infra-shiplogs: |
| 64 | maven-version: '{maven-version}' |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 65 | |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 66 | - job-template: |
| 67 | # Job template for Java verify jobs |
| 68 | # |
| 69 | # The purpose of this job template is to run "maven clean install" for |
| 70 | # projects using this template. |
| 71 | # |
| 72 | # Required Variables: |
| 73 | # branch: git branch (eg. stable/lithium or master) |
| 74 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 75 | name: '{project-name}-{stream}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 76 | |
| 77 | project-type: freestyle |
| 78 | concurrent: true |
| 79 | node: '{build-node}' |
| 80 | |
| 81 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 82 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 83 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 84 | |
| 85 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 86 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 87 | project: '{project}' |
| 88 | branch: '{branch}' |
| 89 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 90 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 91 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 92 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 93 | |
| 94 | scm: |
| 95 | - gerrit-trigger-scm: |
| 96 | refspec: '$GERRIT_REFSPEC' |
| 97 | choosing-strategy: 'gerrit' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 98 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 99 | |
| 100 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 101 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 102 | build-timeout: '{build-timeout}' |
| 103 | |
| 104 | triggers: |
| 105 | - gerrit-trigger-patch-submitted: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 106 | server: '{server-name}' |
| 107 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 108 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 109 | files: '**' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 110 | |
| 111 | builders: |
| 112 | - provide-maven-settings: |
| 113 | global-settings-file: 'global-settings' |
| 114 | settings-file: '{mvn-settings}' |
| 115 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 116 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 117 | goals: 'clean install -B |
| 118 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 119 | settings: '{mvn-settings}' |
| 120 | settings-type: cfp |
| 121 | global-settings: 'global-settings' |
| 122 | global-settings-type: cfp |
| 123 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 124 | publishers: |
| 125 | - infra-shiplogs: |
| 126 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 127 | |
| 128 | - job-template: |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 129 | # Job template for Java verify jobs running checkstyle at the end |
| 130 | # When checkstyle will be fully incorporated, it is meant to replace |
| 131 | # '{project-name}-{stream}-verify-java-checkstyle' |
| 132 | # The purpose of this job template is to run "maven clean install" for |
| 133 | # projects using this template. |
| 134 | # |
| 135 | # Required Variables: |
| 136 | # branch: git branch (eg. stable/lithium or master) |
| 137 | name: '{project-name}-{stream}-verify-java-checkstyle' |
| 138 | project-type: freestyle |
| 139 | concurrent: true |
| 140 | node: '{build-node}' |
| 141 | properties: |
| 142 | - infra-properties: |
| 143 | build-days-to-keep: '{build-days-to-keep}' |
| 144 | parameters: |
| 145 | - infra-parameters: |
| 146 | project: '{project}' |
| 147 | branch: '{branch}' |
| 148 | refspec: 'refs/heads/{branch}' |
| 149 | artifacts: '{archive-artifacts}' |
| 150 | - maven-exec: |
| 151 | maven-version: '{maven-version}' |
| 152 | scm: |
| 153 | - gerrit-trigger-scm: |
| 154 | refspec: '$GERRIT_REFSPEC' |
| 155 | choosing-strategy: 'gerrit' |
| 156 | submodule-recursive: '{submodule-recursive}' |
| 157 | wrappers: |
| 158 | - infra-wrappers: |
| 159 | build-timeout: '{build-timeout}' |
| 160 | triggers: |
| 161 | - gerrit-trigger-patch-submitted: |
| 162 | server: '{server-name}' |
| 163 | project: '{project}' |
| 164 | branch: '{branch}' |
| 165 | files: '**' |
| 166 | builders: |
| 167 | - provide-maven-settings: |
| 168 | global-settings-file: 'global-settings' |
| 169 | settings-file: '{mvn-settings}' |
| 170 | - maven-target: |
| 171 | maven-version: '{maven-version}' |
| 172 | goals: 'clean install -B |
| 173 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 174 | settings: '{mvn-settings}' |
| 175 | settings-type: cfp |
| 176 | global-settings: 'global-settings' |
| 177 | global-settings-type: cfp |
| 178 | publishers: |
| 179 | - infra-shiplogs: |
| 180 | maven-version: '{maven-version}' |
| 181 | - checkstyle-result |
| 182 | |
| 183 | - job-template: |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 184 | # Job template for Java verify jobs that takes a maven template |
| 185 | # |
| 186 | # The purpose of this job template is to run "maven clean install -P {x}" |
| 187 | # for projects using this template. |
| 188 | # |
| 189 | # Required Variables: |
| 190 | # branch: git branch (eg. stable/lithium or master) |
| 191 | |
| 192 | name: '{project-name}-{stream}-verify-profile-java' |
| 193 | |
| 194 | project-type: freestyle |
| 195 | concurrent: true |
| 196 | node: '{build-node}' |
| 197 | |
| 198 | properties: |
| 199 | - infra-properties: |
| 200 | build-days-to-keep: '{build-days-to-keep}' |
| 201 | |
| 202 | parameters: |
| 203 | - infra-parameters: |
| 204 | project: '{project}' |
| 205 | branch: '{branch}' |
| 206 | refspec: 'refs/heads/{branch}' |
| 207 | artifacts: '{archive-artifacts}' |
| 208 | - maven-exec: |
| 209 | maven-version: '{maven-version}' |
| 210 | |
| 211 | scm: |
| 212 | - gerrit-trigger-scm: |
| 213 | refspec: '$GERRIT_REFSPEC' |
| 214 | choosing-strategy: 'gerrit' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 215 | submodule-recursive: '{submodule-recursive}' |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 216 | |
| 217 | wrappers: |
| 218 | - infra-wrappers: |
| 219 | build-timeout: '{build-timeout}' |
| 220 | |
| 221 | triggers: |
| 222 | - gerrit-trigger-patch-submitted: |
| 223 | server: '{server-name}' |
| 224 | project: '{project}' |
| 225 | branch: '{branch}' |
| 226 | files: '**' |
| 227 | |
| 228 | builders: |
| 229 | - provide-maven-settings: |
| 230 | global-settings-file: 'global-settings' |
| 231 | settings-file: '{mvn-settings}' |
| 232 | - maven-target: |
| 233 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 234 | goals: 'clean install -P {mvn-profile} -B |
| 235 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 236 | settings: '{mvn-settings}' |
| 237 | settings-type: cfp |
| 238 | global-settings: 'global-settings' |
| 239 | global-settings-type: cfp |
| 240 | |
| 241 | publishers: |
| 242 | - infra-shiplogs: |
| 243 | maven-version: '{maven-version}' |
| 244 | |
| 245 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 246 | # Job template for Java verify jobs with POM not at the root |
| 247 | # |
| 248 | # The purpose of this job template is to run "maven clean install" for |
| 249 | # projects using this template. |
| 250 | # |
| 251 | # Required Variables: |
| 252 | # branch: git branch (eg. stable/lithium or master) |
| 253 | # pom: name/location of the pom.xml file relative to the workspace |
| 254 | # pattern: ant file-path pattern relative to the workspace used to |
| 255 | # trigger the job |
| 256 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 257 | name: '{project-name}-{stream}-{subproject}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 258 | |
| 259 | project-type: freestyle |
| 260 | concurrent: true |
| 261 | node: '{build-node}' |
| 262 | |
| 263 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 264 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 265 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 266 | |
| 267 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 268 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 269 | project: '{project}' |
| 270 | branch: '{branch}' |
| 271 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 272 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 273 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 274 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 275 | |
| 276 | scm: |
| 277 | - gerrit-trigger-scm: |
| 278 | refspec: '$GERRIT_REFSPEC' |
| 279 | choosing-strategy: 'gerrit' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 280 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 281 | |
| 282 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 283 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 284 | build-timeout: '{build-timeout}' |
| 285 | |
| 286 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 287 | - gerrit-trigger-patch-submitted: |
| 288 | server: '{server-name}' |
| 289 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 290 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 291 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 292 | |
| 293 | builders: |
| 294 | - provide-maven-settings: |
| 295 | global-settings-file: 'global-settings' |
| 296 | settings-file: '{mvn-settings}' |
| 297 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 298 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 299 | pom: '{pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 300 | goals: 'clean install -B |
| 301 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 302 | settings: '{mvn-settings}' |
| 303 | settings-type: cfp |
| 304 | global-settings: 'global-settings' |
| 305 | global-settings-type: cfp |
| 306 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 307 | publishers: |
| 308 | - infra-shiplogs: |
| 309 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 310 | |
| 311 | - job-template: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 312 | # Job template for Java daily release jobs |
| 313 | # |
Andrew Grimberg | 24443ee | 2017-02-02 08:29:12 -0800 | [diff] [blame] | 314 | # The purpose of this job template is to run "maven version && maven clean |
| 315 | # deploy" for projects using this template. |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 316 | # |
| 317 | # Required Variables: |
| 318 | # branch: git branch (eg. stable/lithium or master) |
| 319 | name: '{project-name}-{stream}-release-java-daily' |
| 320 | |
| 321 | project-type: freestyle |
| 322 | node: '{build-node}' |
| 323 | maven-deploy-properties: |
| 324 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 325 | - infra-properties: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 326 | build-days-to-keep: '{build-days-to-keep}' |
| 327 | |
| 328 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 329 | - infra-parameters: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 330 | project: '{project}' |
| 331 | branch: '{branch}' |
| 332 | refspec: 'refs/heads/{branch}' |
| 333 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 334 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 335 | maven-version: '{maven-version}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 336 | |
| 337 | scm: |
| 338 | - gerrit-trigger-scm: |
| 339 | refspec: '' |
| 340 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 341 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 342 | |
| 343 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 344 | - infra-wrappers: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 345 | build-timeout: '{build-timeout}' |
| 346 | |
| 347 | triggers: |
| 348 | # 11 AM UTC |
| 349 | - timed: 'H 11 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 350 | - gerrit-trigger-release-manually: |
| 351 | server: '{server-name}' |
| 352 | project: '{project}' |
| 353 | branch: '{branch}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 354 | |
| 355 | builders: |
| 356 | - provide-maven-settings: |
| 357 | global-settings-file: 'global-settings' |
| 358 | settings-file: '{mvn-settings}' |
| 359 | |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 360 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 361 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 362 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 363 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 364 | properties: |
| 365 | - '{maven-deploy-properties}' |
Jessica Wagantall | 6223d1d | 2017-08-07 14:46:58 -0700 | [diff] [blame] | 366 | java-opts: |
| 367 | - '-Xmx4096m -XX:MaxPermSize=512m' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 368 | settings: '{mvn-settings}' |
| 369 | settings-type: cfp |
| 370 | global-settings: 'global-settings' |
| 371 | global-settings-type: cfp |
| 372 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 373 | publishers: |
| 374 | - infra-shiplogs: |
| 375 | maven-version: '{maven-version}' |
| 376 | |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 377 | - job-template: |
Jessica Wagantall | ae89794 | 2017-09-28 10:56:55 -0700 | [diff] [blame] | 378 | # Job template for Java daily release jobs |
| 379 | # |
| 380 | # The purpose of this job template is to run "maven version && maven clean |
| 381 | # deploy" for projects using this template. |
| 382 | # |
| 383 | # Required Variables: |
| 384 | # branch: git branch (eg. stable/lithium or master) |
| 385 | name: '{project-name}-{stream}-release-java-daily-no-sonar' |
| 386 | |
| 387 | project-type: freestyle |
| 388 | node: '{build-node}' |
| 389 | maven-deploy-properties: |
| 390 | properties: |
| 391 | - infra-properties: |
| 392 | build-days-to-keep: '{build-days-to-keep}' |
| 393 | |
| 394 | parameters: |
| 395 | - infra-parameters: |
| 396 | project: '{project}' |
| 397 | branch: '{branch}' |
| 398 | refspec: 'refs/heads/{branch}' |
| 399 | artifacts: '{archive-artifacts}' |
| 400 | - maven-exec: |
| 401 | maven-version: '{maven-version}' |
| 402 | |
| 403 | scm: |
| 404 | - gerrit-trigger-scm: |
| 405 | refspec: '' |
| 406 | choosing-strategy: 'default' |
| 407 | submodule-recursive: '{submodule-recursive}' |
| 408 | |
| 409 | wrappers: |
| 410 | - infra-wrappers: |
| 411 | build-timeout: '{build-timeout}' |
| 412 | |
| 413 | triggers: |
| 414 | # 11 AM UTC |
| 415 | - timed: 'H 11 * * *' |
| 416 | - gerrit-trigger-release-manually: |
| 417 | server: '{server-name}' |
| 418 | project: '{project}' |
| 419 | branch: '{branch}' |
| 420 | |
| 421 | builders: |
| 422 | - provide-maven-settings: |
| 423 | global-settings-file: 'global-settings' |
| 424 | settings-file: '{mvn-settings}' |
| 425 | |
| 426 | - maven-target: |
| 427 | maven-version: '{maven-version}' |
| 428 | goals: 'clean deploy -B |
| 429 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 430 | properties: |
| 431 | - '{maven-deploy-properties}' |
| 432 | java-opts: |
| 433 | - '-Xmx4096m -XX:MaxPermSize=512m' |
| 434 | settings: '{mvn-settings}' |
| 435 | settings-type: cfp |
| 436 | global-settings: 'global-settings' |
| 437 | global-settings-type: cfp |
| 438 | |
| 439 | publishers: |
| 440 | - infra-shiplogs: |
| 441 | maven-version: '{maven-version}' |
| 442 | |
| 443 | - job-template: |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 444 | # Job template for Java daily release jobs running checkstyle at the end |
| 445 | # When checkstyle will be fully incorporated, it is meant to replace |
| 446 | # '{project-name}-{stream}-release-java-daily' |
| 447 | # The purpose of this job template is to run "maven version && maven clean |
| 448 | # deploy" for projects using this template. |
| 449 | # |
| 450 | # Required Variables: |
| 451 | # branch: git branch (eg. stable/lithium or master) |
| 452 | name: '{project-name}-{stream}-release-java-daily-checkstyle' |
| 453 | project-type: freestyle |
| 454 | node: '{build-node}' |
| 455 | maven-deploy-properties: |
| 456 | properties: |
| 457 | - infra-properties: |
| 458 | build-days-to-keep: '{build-days-to-keep}' |
| 459 | parameters: |
| 460 | - infra-parameters: |
| 461 | project: '{project}' |
| 462 | branch: '{branch}' |
| 463 | refspec: 'refs/heads/{branch}' |
| 464 | artifacts: '{archive-artifacts}' |
| 465 | - maven-exec: |
| 466 | maven-version: '{maven-version}' |
| 467 | scm: |
| 468 | - gerrit-trigger-scm: |
| 469 | refspec: '' |
| 470 | choosing-strategy: 'default' |
| 471 | submodule-recursive: '{submodule-recursive}' |
| 472 | wrappers: |
| 473 | - infra-wrappers: |
| 474 | build-timeout: '{build-timeout}' |
| 475 | triggers: |
| 476 | # 11 AM UTC |
| 477 | - timed: 'H 11 * * *' |
| 478 | - gerrit-trigger-release-manually: |
| 479 | server: '{server-name}' |
| 480 | project: '{project}' |
| 481 | branch: '{branch}' |
| 482 | builders: |
| 483 | - provide-maven-settings: |
| 484 | global-settings-file: 'global-settings' |
| 485 | settings-file: '{mvn-settings}' |
JulienBe | d91a33a | 2017-09-25 15:56:34 +0200 | [diff] [blame] | 486 | - conditional-step: |
| 487 | condition-kind: regex-match |
| 488 | regex: DoSetVersion |
| 489 | label: '{setVersion}' |
| 490 | steps: |
| 491 | - inject: |
| 492 | properties-file: version.properties |
| 493 | - maven-target: |
| 494 | maven-version: '{maven-version}' |
| 495 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
| 496 | properties: |
| 497 | - 'newVersion=${{release_version}}' |
| 498 | settings: '{mvn-settings}' |
| 499 | settings-type: cfp |
| 500 | global-settings: 'global-settings' |
| 501 | global-settings-type: cfp |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 502 | - maven-target: |
| 503 | maven-version: '{maven-version}' |
| 504 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 505 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
JulienBe | c9d90e2 | 2017-08-08 10:44:10 +0200 | [diff] [blame] | 506 | properties: '{obj:mvn_properties}' |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 507 | settings: '{mvn-settings}' |
| 508 | settings-type: cfp |
| 509 | global-settings: 'global-settings' |
| 510 | global-settings-type: cfp |
| 511 | publishers: |
| 512 | - infra-shiplogs: |
| 513 | maven-version: '{maven-version}' |
| 514 | - checkstyle-result-daily |
| 515 | |
| 516 | - job-template: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 517 | # Job template for Java daily release jobs |
| 518 | # |
| 519 | # The purpose of this job template is to run "maven version && maven clean |
| 520 | # deploy" for projects using this template. |
| 521 | # |
| 522 | # Required Variables: |
| 523 | # branch: git branch (eg. stable/lithium or master) |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 524 | name: '{project-name}-{stream}-release-version-java-daily-no-sonar' |
| 525 | |
| 526 | project-type: freestyle |
| 527 | node: '{build-node}' |
| 528 | maven-deploy-properties: |
| 529 | properties: |
| 530 | - infra-properties: |
| 531 | build-days-to-keep: '{build-days-to-keep}' |
| 532 | |
| 533 | parameters: |
| 534 | - infra-parameters: |
| 535 | project: '{project}' |
| 536 | branch: '{branch}' |
| 537 | refspec: 'refs/heads/{branch}' |
| 538 | artifacts: '{archive-artifacts}' |
| 539 | - maven-exec: |
| 540 | maven-version: '{maven-version}' |
| 541 | |
| 542 | scm: |
| 543 | - gerrit-trigger-scm: |
| 544 | refspec: '' |
| 545 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 546 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 547 | |
| 548 | wrappers: |
| 549 | - infra-wrappers: |
| 550 | build-timeout: '{build-timeout}' |
| 551 | |
| 552 | triggers: |
| 553 | # 11 AM UTC |
Jessica Wagantall | 7749494 | 2017-10-02 15:12:14 -0700 | [diff] [blame] | 554 | - timed: 'H H(10-17) * * *' |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 555 | - gerrit-trigger-release-manually: |
| 556 | server: '{server-name}' |
| 557 | project: '{project}' |
| 558 | branch: '{branch}' |
| 559 | |
| 560 | builders: |
| 561 | - provide-maven-settings: |
| 562 | global-settings-file: 'global-settings' |
| 563 | settings-file: '{mvn-settings}' |
| 564 | |
| 565 | - inject: |
| 566 | properties-file: version.properties |
| 567 | - maven-target: |
| 568 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 569 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 570 | properties: |
| 571 | - 'newVersion=${{release_version}}' |
| 572 | settings: '{mvn-settings}' |
| 573 | settings-type: cfp |
| 574 | global-settings: 'global-settings' |
| 575 | global-settings-type: cfp |
| 576 | |
| 577 | - maven-target: |
| 578 | maven-version: '{maven-version}' |
| 579 | goals: 'clean deploy -B |
| 580 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 581 | properties: |
| 582 | - '{maven-deploy-properties}' |
| 583 | settings: '{mvn-settings}' |
| 584 | settings-type: cfp |
| 585 | global-settings: 'global-settings' |
| 586 | global-settings-type: cfp |
| 587 | |
| 588 | publishers: |
| 589 | - infra-shiplogs: |
| 590 | maven-version: '{maven-version}' |
| 591 | |
| 592 | - job-template: |
| 593 | # Job template for Java daily release jobs |
| 594 | # |
| 595 | # The purpose of this job template is to run "maven version && maven clean |
| 596 | # deploy" for projects using this template. |
Jessica Wagantall | fcfde43 | 2017-09-18 13:48:33 -0700 | [diff] [blame] | 597 | # This template supports subprojects. |
| 598 | # |
| 599 | # Required Variables: |
| 600 | # branch: git branch (eg. stable/lithium or master) |
| 601 | name: '{project-name}-{stream}-{subproject}-release-version-java-daily-no-sonar' |
| 602 | |
| 603 | project-type: freestyle |
| 604 | node: '{build-node}' |
| 605 | maven-deploy-properties: |
| 606 | properties: |
| 607 | - infra-properties: |
| 608 | build-days-to-keep: '{build-days-to-keep}' |
| 609 | |
| 610 | parameters: |
| 611 | - infra-parameters: |
| 612 | project: '{project}' |
| 613 | branch: '{branch}' |
| 614 | refspec: 'refs/heads/{branch}' |
| 615 | artifacts: '{archive-artifacts}' |
| 616 | - maven-exec: |
| 617 | maven-version: '{maven-version}' |
| 618 | |
| 619 | scm: |
| 620 | - gerrit-trigger-scm: |
| 621 | refspec: '' |
| 622 | choosing-strategy: 'default' |
| 623 | submodule-recursive: '{submodule-recursive}' |
| 624 | |
| 625 | wrappers: |
| 626 | - infra-wrappers: |
| 627 | build-timeout: '{build-timeout}' |
| 628 | |
| 629 | triggers: |
| 630 | # 11 AM UTC |
Jessica Wagantall | 7749494 | 2017-10-02 15:12:14 -0700 | [diff] [blame] | 631 | - timed: 'H H(10-17) * * *' |
Jessica Wagantall | fcfde43 | 2017-09-18 13:48:33 -0700 | [diff] [blame] | 632 | - gerrit-trigger-release-manually: |
| 633 | server: '{server-name}' |
| 634 | project: '{project}' |
| 635 | branch: '{branch}' |
| 636 | |
| 637 | builders: |
| 638 | - provide-maven-settings: |
| 639 | global-settings-file: 'global-settings' |
| 640 | settings-file: '{mvn-settings}' |
| 641 | |
| 642 | - inject: |
| 643 | properties-file: version.properties |
| 644 | - maven-target: |
| 645 | maven-version: '{maven-version}' |
| 646 | pom: '{pom}' |
| 647 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
| 648 | properties: |
| 649 | - 'newVersion=${{release_version}}' |
| 650 | settings: '{mvn-settings}' |
| 651 | settings-type: cfp |
| 652 | global-settings: 'global-settings' |
| 653 | global-settings-type: cfp |
| 654 | |
| 655 | - maven-target: |
| 656 | maven-version: '{maven-version}' |
| 657 | pom: '{pom}' |
| 658 | goals: 'clean deploy -B |
| 659 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 660 | properties: |
| 661 | - '{maven-deploy-properties}' |
| 662 | settings: '{mvn-settings}' |
| 663 | settings-type: cfp |
| 664 | global-settings: 'global-settings' |
| 665 | global-settings-type: cfp |
| 666 | |
| 667 | publishers: |
| 668 | - infra-shiplogs: |
| 669 | maven-version: '{maven-version}' |
| 670 | |
| 671 | - job-template: |
| 672 | # Job template for Java daily release jobs |
| 673 | # |
| 674 | # The purpose of this job template is to run "maven version && maven clean |
| 675 | # deploy" for projects using this template. |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 676 | # |
| 677 | # Required Variables: |
| 678 | # branch: git branch (eg. stable/lithium or master) |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 679 | name: '{project-name}-{stream}-release-version-java-daily' |
| 680 | |
| 681 | project-type: freestyle |
| 682 | node: '{build-node}' |
| 683 | maven-deploy-properties: |
| 684 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 685 | - infra-properties: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 686 | build-days-to-keep: '{build-days-to-keep}' |
| 687 | |
| 688 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 689 | - infra-parameters: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 690 | project: '{project}' |
| 691 | branch: '{branch}' |
| 692 | refspec: 'refs/heads/{branch}' |
| 693 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 694 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 695 | maven-version: '{maven-version}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 696 | |
| 697 | scm: |
| 698 | - gerrit-trigger-scm: |
| 699 | refspec: '' |
| 700 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 701 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 702 | |
| 703 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 704 | - infra-wrappers: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 705 | build-timeout: '{build-timeout}' |
| 706 | |
| 707 | triggers: |
| 708 | # 11 AM UTC |
Jessica Wagantall | 7749494 | 2017-10-02 15:12:14 -0700 | [diff] [blame] | 709 | - timed: 'H H(10-17) * * *' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 710 | - gerrit-trigger-release-manually: |
| 711 | server: '{server-name}' |
| 712 | project: '{project}' |
| 713 | branch: '{branch}' |
| 714 | |
| 715 | builders: |
| 716 | - provide-maven-settings: |
| 717 | global-settings-file: 'global-settings' |
| 718 | settings-file: '{mvn-settings}' |
| 719 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 720 | - inject: |
| 721 | properties-file: version.properties |
| 722 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 723 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 724 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 725 | properties: |
| 726 | - 'newVersion=${{release_version}}' |
| 727 | settings: '{mvn-settings}' |
| 728 | settings-type: cfp |
| 729 | global-settings: 'global-settings' |
| 730 | global-settings-type: cfp |
| 731 | |
| 732 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 733 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 734 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 735 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | 24443ee | 2017-02-02 08:29:12 -0800 | [diff] [blame] | 736 | properties: |
| 737 | - '{maven-deploy-properties}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 738 | settings: '{mvn-settings}' |
| 739 | settings-type: cfp |
| 740 | global-settings: 'global-settings' |
| 741 | global-settings-type: cfp |
| 742 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 743 | publishers: |
| 744 | - infra-shiplogs: |
| 745 | maven-version: '{maven-version}' |
| 746 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 747 | - job-template: |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 748 | # Job template for Java daily release jobs |
| 749 | # |
| 750 | # The purpose of this job template is to run "maven version && maven clean |
| 751 | # deploy" for projects using this template. |
| 752 | # |
| 753 | # Required Variables: |
| 754 | # branch: git branch (eg. stable/lithium or master) |
| 755 | name: '{project-name}-{stream}-release-version-profile-java-daily' |
| 756 | |
| 757 | project-type: freestyle |
| 758 | node: '{build-node}' |
| 759 | maven-deploy-properties: |
| 760 | properties: |
| 761 | - infra-properties: |
| 762 | build-days-to-keep: '{build-days-to-keep}' |
| 763 | |
| 764 | parameters: |
| 765 | - infra-parameters: |
| 766 | project: '{project}' |
| 767 | branch: '{branch}' |
| 768 | refspec: 'refs/heads/{branch}' |
| 769 | artifacts: '{archive-artifacts}' |
| 770 | - maven-exec: |
| 771 | maven-version: '{maven-version}' |
| 772 | |
| 773 | scm: |
| 774 | - gerrit-trigger-scm: |
| 775 | refspec: '' |
| 776 | choosing-strategy: 'default' |
| 777 | submodule-recursive: '{submodule-recursive}' |
| 778 | |
| 779 | wrappers: |
| 780 | - infra-wrappers: |
| 781 | build-timeout: '{build-timeout}' |
| 782 | |
| 783 | triggers: |
| 784 | # 11 AM UTC |
| 785 | - timed: 'H 11 * * *' |
| 786 | - gerrit-trigger-release-manually: |
| 787 | server: '{server-name}' |
| 788 | project: '{project}' |
| 789 | branch: '{branch}' |
| 790 | |
| 791 | builders: |
| 792 | - provide-maven-settings: |
| 793 | global-settings-file: 'global-settings' |
| 794 | settings-file: '{mvn-settings}' |
| 795 | |
| 796 | - inject: |
| 797 | properties-file: version.properties |
| 798 | - maven-target: |
| 799 | maven-version: '{maven-version}' |
| 800 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
| 801 | properties: |
| 802 | - 'newVersion=${{release_version}}' |
| 803 | settings: '{mvn-settings}' |
| 804 | settings-type: cfp |
| 805 | global-settings: 'global-settings' |
| 806 | global-settings-type: cfp |
| 807 | |
| 808 | - maven-target: |
| 809 | maven-version: '{maven-version}' |
| 810 | goals: 'clean deploy sonar:sonar -P {mvn-profile} -Dsonar.host.url=${{SONAR}} -B |
| 811 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 812 | properties: |
| 813 | - '{maven-deploy-properties}' |
| 814 | settings: '{mvn-settings}' |
| 815 | settings-type: cfp |
| 816 | global-settings: 'global-settings' |
| 817 | global-settings-type: cfp |
| 818 | |
| 819 | publishers: |
| 820 | - infra-shiplogs: |
| 821 | maven-version: '{maven-version}' |
| 822 | |
| 823 | |
| 824 | - job-template: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 825 | # Job template for Java daily release jobs with POM not at the root |
| 826 | # |
| 827 | # The purpose of this job template is to run "maven version && maven clean |
| 828 | # deploy" for projects using this template. |
| 829 | # |
| 830 | # Required Variables: |
| 831 | # branch: git branch (eg. stable/lithium or master) |
| 832 | # pom: name/location of the pom.xml file relative to the workspace |
| 833 | |
| 834 | |
| 835 | name: '{project-name}-{stream}-{subproject}-release-java-daily' |
| 836 | |
| 837 | project-type: freestyle |
| 838 | node: '{build-node}' |
| 839 | maven-deploy-properties: |
| 840 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 841 | - infra-properties: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 842 | build-days-to-keep: '{build-days-to-keep}' |
| 843 | |
| 844 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 845 | - infra-parameters: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 846 | project: '{project}' |
| 847 | branch: '{branch}' |
| 848 | refspec: 'refs/heads/{branch}' |
| 849 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 850 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 851 | maven-version: '{maven-version}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 852 | |
| 853 | scm: |
| 854 | - gerrit-trigger-scm: |
| 855 | refspec: '' |
| 856 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 857 | submodule-recursive: '{submodule-recursive}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 858 | |
| 859 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 860 | - infra-wrappers: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 861 | build-timeout: '{build-timeout}' |
| 862 | |
| 863 | triggers: |
| 864 | # 11 AM UTC |
| 865 | - timed: 'H 11 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 866 | - gerrit-trigger-release-manually: |
| 867 | server: '{server-name}' |
| 868 | project: '{project}' |
| 869 | branch: '{branch}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 870 | |
| 871 | builders: |
| 872 | - provide-maven-settings: |
| 873 | global-settings-file: 'global-settings' |
| 874 | settings-file: '{mvn-settings}' |
| 875 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 876 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 877 | maven-version: '{maven-version}' |
Carsten Lund | 63cd3b8 | 2017-02-18 18:19:22 +0000 | [diff] [blame] | 878 | pom: '{pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 879 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 880 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 881 | properties: |
| 882 | - '{maven-deploy-properties}' |
Jessica Wagantall | 30f0d78 | 2017-08-08 13:37:25 -0700 | [diff] [blame] | 883 | java-opts: |
| 884 | - '-Xmx4096m -XX:MaxPermSize=512m' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 885 | settings: '{mvn-settings}' |
| 886 | settings-type: cfp |
| 887 | global-settings: 'global-settings' |
| 888 | global-settings-type: cfp |
| 889 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 890 | publishers: |
| 891 | - infra-shiplogs: |
| 892 | maven-version: '{maven-version}' |
| 893 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 894 | - job-template: |
Jessica Wagantall | ae89794 | 2017-09-28 10:56:55 -0700 | [diff] [blame] | 895 | # Job template for Java daily release jobs with POM not at the root |
| 896 | # |
| 897 | # The purpose of this job template is to run "maven version && maven clean |
| 898 | # deploy" for projects using this template. |
| 899 | # |
| 900 | # Required Variables: |
| 901 | # branch: git branch (eg. stable/lithium or master) |
| 902 | # pom: name/location of the pom.xml file relative to the workspace |
| 903 | |
| 904 | |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 905 | name: '{project-name}-{stream}-{subproject}-release-version-java-daily' |
| 906 | |
| 907 | project-type: freestyle |
| 908 | node: '{build-node}' |
| 909 | maven-deploy-properties: |
| 910 | properties: |
| 911 | - infra-properties: |
| 912 | build-days-to-keep: '{build-days-to-keep}' |
| 913 | |
| 914 | parameters: |
| 915 | - infra-parameters: |
| 916 | project: '{project}' |
| 917 | branch: '{branch}' |
| 918 | refspec: 'refs/heads/{branch}' |
| 919 | artifacts: '{archive-artifacts}' |
| 920 | - maven-exec: |
| 921 | maven-version: '{maven-version}' |
| 922 | |
| 923 | scm: |
| 924 | - gerrit-trigger-scm: |
| 925 | refspec: '' |
| 926 | choosing-strategy: 'default' |
| 927 | submodule-recursive: '{submodule-recursive}' |
| 928 | |
| 929 | wrappers: |
| 930 | - infra-wrappers: |
| 931 | build-timeout: '{build-timeout}' |
| 932 | |
| 933 | triggers: |
| 934 | # 11 AM UTC |
| 935 | - timed: 'H 11 * * *' |
| 936 | - gerrit-trigger-release-manually: |
| 937 | server: '{server-name}' |
| 938 | project: '{project}' |
| 939 | branch: '{branch}' |
| 940 | |
| 941 | builders: |
| 942 | - provide-maven-settings: |
| 943 | global-settings-file: 'global-settings' |
| 944 | settings-file: '{mvn-settings}' |
| 945 | |
| 946 | - inject: |
| 947 | properties-file: version.properties |
| 948 | - maven-target: |
| 949 | maven-version: '{maven-version}' |
Zhaoxing | 327f959 | 2017-10-13 13:37:17 +0800 | [diff] [blame] | 950 | pom: '{pom}' |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 951 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
| 952 | properties: |
| 953 | - 'newVersion=${{release_version}}' |
| 954 | settings: '{mvn-settings}' |
| 955 | settings-type: cfp |
| 956 | global-settings: 'global-settings' |
| 957 | global-settings-type: cfp |
| 958 | |
| 959 | - maven-target: |
| 960 | maven-version: '{maven-version}' |
| 961 | pom: '{pom}' |
| 962 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 963 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 964 | properties: |
| 965 | - '{maven-deploy-properties}' |
| 966 | settings: '{mvn-settings}' |
| 967 | settings-type: cfp |
| 968 | global-settings: 'global-settings' |
| 969 | global-settings-type: cfp |
| 970 | |
| 971 | publishers: |
| 972 | - infra-shiplogs: |
| 973 | maven-version: '{maven-version}' |
| 974 | |
| 975 | - job-template: |
| 976 | # Job template for Java daily release jobs with POM not at the root |
| 977 | # |
| 978 | # The purpose of this job template is to run "maven version && maven clean |
| 979 | # deploy" for projects using this template. |
| 980 | # |
| 981 | # Required Variables: |
| 982 | # branch: git branch (eg. stable/lithium or master) |
| 983 | # pom: name/location of the pom.xml file relative to the workspace |
| 984 | |
| 985 | |
Jessica Wagantall | ae89794 | 2017-09-28 10:56:55 -0700 | [diff] [blame] | 986 | name: '{project-name}-{stream}-{subproject}-release-java-daily-no-sonar' |
| 987 | |
| 988 | project-type: freestyle |
| 989 | node: '{build-node}' |
| 990 | maven-deploy-properties: |
| 991 | properties: |
| 992 | - infra-properties: |
| 993 | build-days-to-keep: '{build-days-to-keep}' |
| 994 | |
| 995 | parameters: |
| 996 | - infra-parameters: |
| 997 | project: '{project}' |
| 998 | branch: '{branch}' |
| 999 | refspec: 'refs/heads/{branch}' |
| 1000 | artifacts: '{archive-artifacts}' |
| 1001 | - maven-exec: |
| 1002 | maven-version: '{maven-version}' |
| 1003 | |
| 1004 | scm: |
| 1005 | - gerrit-trigger-scm: |
| 1006 | refspec: '' |
| 1007 | choosing-strategy: 'default' |
| 1008 | submodule-recursive: '{submodule-recursive}' |
| 1009 | |
| 1010 | wrappers: |
| 1011 | - infra-wrappers: |
| 1012 | build-timeout: '{build-timeout}' |
| 1013 | |
| 1014 | triggers: |
| 1015 | # 11 AM UTC |
| 1016 | - timed: 'H 11 * * *' |
| 1017 | - gerrit-trigger-release-manually: |
| 1018 | server: '{server-name}' |
| 1019 | project: '{project}' |
| 1020 | branch: '{branch}' |
| 1021 | |
| 1022 | builders: |
| 1023 | - provide-maven-settings: |
| 1024 | global-settings-file: 'global-settings' |
| 1025 | settings-file: '{mvn-settings}' |
| 1026 | |
| 1027 | - maven-target: |
| 1028 | maven-version: '{maven-version}' |
| 1029 | pom: '{pom}' |
| 1030 | goals: 'clean deploy -B |
| 1031 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 1032 | properties: |
| 1033 | - '{maven-deploy-properties}' |
| 1034 | java-opts: |
| 1035 | - '-Xmx4096m -XX:MaxPermSize=512m' |
| 1036 | settings: '{mvn-settings}' |
| 1037 | settings-type: cfp |
| 1038 | global-settings: 'global-settings' |
| 1039 | global-settings-type: cfp |
| 1040 | |
| 1041 | publishers: |
| 1042 | - infra-shiplogs: |
| 1043 | maven-version: '{maven-version}' |
| 1044 | |
| 1045 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1046 | # Job template for Java merge jobs |
| 1047 | # |
| 1048 | # The purpose of this job template is to run "maven clean deploy" for |
| 1049 | # projects using this template. |
| 1050 | # |
| 1051 | # Required Variables: |
| 1052 | # branch: git branch (eg. stable/lithium or master) |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 1053 | name: '{project-name}-{stream}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1054 | |
| 1055 | project-type: freestyle |
| 1056 | node: '{build-node}' |
| 1057 | |
| 1058 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1059 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 1060 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1061 | |
| 1062 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1063 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1064 | project: '{project}' |
| 1065 | branch: '{branch}' |
| 1066 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 1067 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1068 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1069 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1070 | |
| 1071 | scm: |
| 1072 | - gerrit-trigger-scm: |
| 1073 | refspec: '' |
| 1074 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1075 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1076 | |
| 1077 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1078 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1079 | build-timeout: '{build-timeout}' |
| 1080 | |
| 1081 | triggers: |
| 1082 | - gerrit-trigger-patch-merged: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 1083 | server: '{server-name}' |
| 1084 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1085 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 1086 | files: '**' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1087 | |
| 1088 | builders: |
| 1089 | - provide-maven-settings: |
| 1090 | global-settings-file: 'global-settings' |
| 1091 | settings-file: '{mvn-settings}' |
| 1092 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1093 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1094 | goals: 'clean deploy -B |
| 1095 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1096 | settings: '{mvn-settings}' |
| 1097 | settings-type: cfp |
| 1098 | global-settings: 'global-settings' |
| 1099 | global-settings-type: cfp |
| 1100 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1101 | publishers: |
| 1102 | - infra-shiplogs: |
| 1103 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1104 | |
| 1105 | - job-template: |
JulienBe | a4868a6 | 2017-07-28 17:13:11 +0200 | [diff] [blame] | 1106 | # Job template for Java merge jobs based on |
| 1107 | # '{project-name}-{stream}-merge-java' |
| 1108 | # The purpose of this job template is to run "maven clean deploy" for |
| 1109 | # projects using this template. |
| 1110 | # |
| 1111 | # Required Variables: |
| 1112 | # branch: git branch (eg. stable/lithium or master) |
| 1113 | # maven-properties: properties passed to maven |
| 1114 | name: '{project-name}-{stream}-merge-properties-java' |
| 1115 | |
| 1116 | project-type: freestyle |
| 1117 | node: '{build-node}' |
| 1118 | |
| 1119 | properties: |
| 1120 | - infra-properties: |
| 1121 | build-days-to-keep: '{build-days-to-keep}' |
| 1122 | |
| 1123 | parameters: |
| 1124 | - infra-parameters: |
| 1125 | project: '{project}' |
| 1126 | branch: '{branch}' |
| 1127 | refspec: 'refs/heads/{branch}' |
| 1128 | artifacts: '{archive-artifacts}' |
| 1129 | - maven-exec: |
| 1130 | maven-version: '{maven-version}' |
| 1131 | |
| 1132 | scm: |
| 1133 | - gerrit-trigger-scm: |
| 1134 | refspec: '' |
| 1135 | choosing-strategy: 'default' |
| 1136 | submodule-recursive: '{submodule-recursive}' |
| 1137 | |
| 1138 | wrappers: |
| 1139 | - infra-wrappers: |
| 1140 | build-timeout: '{build-timeout}' |
| 1141 | |
| 1142 | triggers: |
| 1143 | - gerrit-trigger-patch-merged: |
| 1144 | server: '{server-name}' |
| 1145 | project: '{project}' |
| 1146 | branch: '{branch}' |
| 1147 | files: '**' |
| 1148 | |
| 1149 | builders: |
| 1150 | - provide-maven-settings: |
| 1151 | global-settings-file: 'global-settings' |
| 1152 | settings-file: '{mvn-settings}' |
| 1153 | - maven-target: |
| 1154 | maven-version: '{maven-version}' |
| 1155 | goals: 'clean deploy -B |
| 1156 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 1157 | settings: '{mvn-settings}' |
| 1158 | settings-type: cfp |
| 1159 | global-settings: 'global-settings' |
| 1160 | global-settings-type: cfp |
JulienBe | c9d90e2 | 2017-08-08 10:44:10 +0200 | [diff] [blame] | 1161 | properties: '{obj:mvn_properties}' |
JulienBe | a4868a6 | 2017-07-28 17:13:11 +0200 | [diff] [blame] | 1162 | |
| 1163 | publishers: |
| 1164 | - infra-shiplogs: |
| 1165 | maven-version: '{maven-version}' |
| 1166 | |
| 1167 | - job-template: |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 1168 | # Job template for Java merge jobs that takes a maven template |
| 1169 | # |
| 1170 | # The purpose of this job template is to run "maven clean deploy -P {x}" |
| 1171 | # for projects using this template. |
| 1172 | # |
| 1173 | # Required Variables: |
| 1174 | # branch: git branch (eg. stable/lithium or master) |
| 1175 | name: '{project-name}-{stream}-merge-profile-java' |
| 1176 | |
| 1177 | project-type: freestyle |
| 1178 | node: '{build-node}' |
| 1179 | |
| 1180 | properties: |
| 1181 | - infra-properties: |
| 1182 | build-days-to-keep: '{build-days-to-keep}' |
| 1183 | |
| 1184 | parameters: |
| 1185 | - infra-parameters: |
| 1186 | project: '{project}' |
| 1187 | branch: '{branch}' |
| 1188 | refspec: 'refs/heads/{branch}' |
| 1189 | artifacts: '{archive-artifacts}' |
| 1190 | - maven-exec: |
| 1191 | maven-version: '{maven-version}' |
| 1192 | |
| 1193 | scm: |
| 1194 | - gerrit-trigger-scm: |
| 1195 | refspec: '' |
| 1196 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1197 | submodule-recursive: '{submodule-recursive}' |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 1198 | |
| 1199 | wrappers: |
| 1200 | - infra-wrappers: |
| 1201 | build-timeout: '{build-timeout}' |
| 1202 | |
| 1203 | triggers: |
| 1204 | - gerrit-trigger-patch-merged: |
| 1205 | server: '{server-name}' |
| 1206 | project: '{project}' |
| 1207 | branch: '{branch}' |
| 1208 | files: '**' |
| 1209 | |
| 1210 | builders: |
| 1211 | - provide-maven-settings: |
| 1212 | global-settings-file: 'global-settings' |
| 1213 | settings-file: '{mvn-settings}' |
Determe, Sebastien (sd378r) | 62e4e66 | 2017-04-26 08:00:00 -0700 | [diff] [blame] | 1214 | |
| 1215 | - docker-login |
| 1216 | |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 1217 | - maven-target: |
| 1218 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1219 | goals: 'clean deploy -P {mvn-profile} -B |
| 1220 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 1221 | settings: '{mvn-settings}' |
| 1222 | settings-type: cfp |
| 1223 | global-settings: 'global-settings' |
| 1224 | global-settings-type: cfp |
Determe, Sebastien (sd378r) | 345956b | 2017-04-28 08:45:52 -0700 | [diff] [blame] | 1225 | properties: |
| 1226 | - docker.pull.registry=nexus3.onap.org:10001 |
| 1227 | - docker.push.registry=nexus3.onap.org:10003 |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 1228 | |
| 1229 | publishers: |
| 1230 | - infra-shiplogs: |
| 1231 | maven-version: '{maven-version}' |
| 1232 | |
| 1233 | - job-template: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1234 | # Job template for Java merge jobs that should also be triggered by upstream |
| 1235 | # merges |
| 1236 | # |
| 1237 | # Required Variables: |
| 1238 | # stream: release stream |
| 1239 | # branch: git branch |
| 1240 | # dependencies: fully qualified upstream job name to trigger on |
| 1241 | # this may be '' |
| 1242 | name: '{project-name}-{stream}-downstream-merge-java' |
| 1243 | |
| 1244 | project-type: freestyle |
| 1245 | node: '{build-node}' |
| 1246 | |
| 1247 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1248 | - infra-properties: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1249 | build-days-to-keep: '{build-days-to-keep}' |
| 1250 | |
| 1251 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1252 | - infra-parameters: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1253 | project: '{project}' |
| 1254 | branch: '{branch}' |
| 1255 | refspec: 'refs/heads/{branch}' |
| 1256 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1257 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1258 | maven-version: '{maven-version}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1259 | |
| 1260 | scm: |
| 1261 | - gerrit-trigger-scm: |
| 1262 | refspec: '' |
| 1263 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1264 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1265 | |
| 1266 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1267 | - infra-wrappers: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1268 | build-timeout: '{build-timeout}' |
| 1269 | |
| 1270 | triggers: |
| 1271 | - reverse: |
| 1272 | jobs: '{dependencies}' |
| 1273 | result: 'success' |
| 1274 | - gerrit-trigger-patch-merged: |
| 1275 | server: '{server-name}' |
| 1276 | project: '{project}' |
| 1277 | branch: '{branch}' |
| 1278 | files: '**' |
| 1279 | |
| 1280 | builders: |
| 1281 | - provide-maven-settings: |
| 1282 | global-settings-file: 'global-settings' |
| 1283 | settings-file: '{mvn-settings}' |
| 1284 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1285 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1286 | goals: 'clean deploy -B |
| 1287 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1288 | settings: '{mvn-settings}' |
| 1289 | settings-type: cfp |
| 1290 | global-settings: 'global-settings' |
| 1291 | global-settings-type: cfp |
| 1292 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1293 | publishers: |
| 1294 | - infra-shiplogs: |
| 1295 | maven-version: '{maven-version}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 1296 | |
| 1297 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1298 | # Job template for Java merge jobs with POM not at the root |
| 1299 | # |
| 1300 | # The purpose of this job template is to run "maven clean deploy" for |
| 1301 | # projects using this template. |
| 1302 | # |
| 1303 | # Required Variables: |
| 1304 | # branch: git branch (eg. stable/lithium or master) |
| 1305 | # pom: name/location of the pom.xml file relative to the workspace |
| 1306 | # pattern: ant file-path pattern relative to the workspace used to |
| 1307 | # trigger the job |
| 1308 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 1309 | name: '{project-name}-{stream}-{subproject}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1310 | |
| 1311 | project-type: freestyle |
| 1312 | node: '{build-node}' |
| 1313 | |
| 1314 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1315 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 1316 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1317 | |
| 1318 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1319 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1320 | project: '{project}' |
| 1321 | branch: '{branch}' |
| 1322 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 1323 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1324 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1325 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1326 | |
| 1327 | scm: |
| 1328 | - gerrit-trigger-scm: |
| 1329 | refspec: '' |
| 1330 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1331 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1332 | |
| 1333 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1334 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1335 | build-timeout: '{build-timeout}' |
| 1336 | |
| 1337 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 1338 | - gerrit-trigger-patch-merged: |
| 1339 | server: '{server-name}' |
| 1340 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1341 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 1342 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1343 | |
| 1344 | builders: |
| 1345 | - provide-maven-settings: |
| 1346 | global-settings-file: 'global-settings' |
| 1347 | settings-file: '{mvn-settings}' |
| 1348 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1349 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1350 | pom: '{pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1351 | goals: 'clean deploy -B |
| 1352 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1353 | settings: '{mvn-settings}' |
| 1354 | settings-type: cfp |
| 1355 | global-settings: 'global-settings' |
| 1356 | global-settings-type: cfp |
| 1357 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1358 | publishers: |
| 1359 | - infra-shiplogs: |
| 1360 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1361 | |
| 1362 | - job-template: |
| 1363 | name: '{project-name}-{stream}-docker-java-daily' |
| 1364 | project-type: freestyle |
Andrew Grimberg | 2137b1d | 2017-02-15 07:24:53 -0800 | [diff] [blame] | 1365 | node: 'ubuntu1604-docker-8c-8g' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1366 | |
| 1367 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1368 | - infra-properties: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1369 | build-days-to-keep: '{build-days-to-keep}' |
| 1370 | |
| 1371 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1372 | - infra-parameters: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1373 | project: '{project}' |
| 1374 | branch: '{branch}' |
| 1375 | refspec: 'refs/heads/{branch}' |
| 1376 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1377 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1378 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1379 | |
| 1380 | scm: |
| 1381 | - gerrit-trigger-scm: |
| 1382 | refspec: '' |
| 1383 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1384 | submodule-recursive: '{submodule-recursive}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1385 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1386 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1387 | - infra-wrappers: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1388 | build-timeout: '{build-timeout}' |
| 1389 | |
| 1390 | triggers: |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 1391 | # 12 AM UTC |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1392 | - timed: 'H 12 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 1393 | - gerrit-trigger-release-manually: |
| 1394 | server: '{server-name}' |
| 1395 | project: '{project}' |
| 1396 | branch: '{branch}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1397 | |
| 1398 | builders: |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 1399 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1400 | - provide-maven-settings: |
| 1401 | global-settings-file: 'global-settings' |
| 1402 | settings-file: '{mvn-settings}' |
Anaël Closson | 7313fea | 2017-02-14 15:56:21 +0100 | [diff] [blame] | 1403 | |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 1404 | - docker-login |
| 1405 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1406 | - maven-docker-push-daily: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1407 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1408 | mvn-settings: '{mvn-settings}' |
| 1409 | pom: '{docker-pom}' |
Anaël Closson | 30a5c77 | 2017-02-16 15:02:56 +0100 | [diff] [blame] | 1410 | # use default as mvn-profile if profile is not needed |
| 1411 | mvn-profile: '{mvn-profile}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1412 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1413 | publishers: |
| 1414 | - infra-shiplogs: |
| 1415 | maven-version: '{maven-version}' |
| 1416 | |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1417 | - job-template: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 1418 | # Job template for building & pushing docker images |
| 1419 | # |
| 1420 | # The purpose of this job template is to run : |
| 1421 | # 1. login to the docker registry |
| 1422 | # 2. do a clean deploy on the specified profile |
| 1423 | # |
| 1424 | # Required Variables: |
| 1425 | # pom: name/location of the pom.xml file relative to the workspace |
| 1426 | # profile: the docker profile defined in the pom |
| 1427 | # maven-properties: properties passed to maven |
| 1428 | name: '{project-name}-{stream}-docker-java-properties-daily' |
| 1429 | project-type: freestyle |
| 1430 | node: 'ubuntu1604-docker-8c-8g' |
| 1431 | properties: |
| 1432 | - infra-properties: |
| 1433 | build-days-to-keep: '{build-days-to-keep}' |
| 1434 | parameters: |
| 1435 | - infra-parameters: |
| 1436 | project: '{project}' |
| 1437 | branch: '{branch}' |
| 1438 | refspec: 'refs/heads/{branch}' |
| 1439 | artifacts: '{archive-artifacts}' |
| 1440 | - maven-exec: |
| 1441 | maven-version: '{maven-version}' |
| 1442 | scm: |
| 1443 | - gerrit-trigger-scm: |
| 1444 | refspec: '' |
| 1445 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1446 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 1447 | wrappers: |
| 1448 | - infra-wrappers: |
| 1449 | build-timeout: '{build-timeout}' |
| 1450 | triggers: |
| 1451 | # 12 AM UTC |
| 1452 | - timed: 'H 12 * * *' |
| 1453 | - gerrit-trigger-release-manually: |
| 1454 | server: '{server-name}' |
| 1455 | project: '{project}' |
| 1456 | branch: '{branch}' |
| 1457 | builders: |
| 1458 | - provide-maven-settings: |
| 1459 | global-settings-file: 'global-settings' |
| 1460 | settings-file: '{mvn-settings}' |
JulienBe | cda1797 | 2017-10-17 13:46:51 +0200 | [diff] [blame] | 1461 | - conditional-step: |
| 1462 | condition-kind: regex-match |
| 1463 | regex: DoSetVersion |
| 1464 | label: '{setVersion}' |
| 1465 | steps: |
| 1466 | - inject: |
| 1467 | properties-file: version.properties |
| 1468 | - maven-target: |
| 1469 | maven-version: '{maven-version}' |
| 1470 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
| 1471 | properties: |
| 1472 | - 'newVersion=${{release_version}}' |
| 1473 | settings: '{mvn-settings}' |
| 1474 | settings-type: cfp |
| 1475 | global-settings: 'global-settings' |
| 1476 | global-settings-type: cfp |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 1477 | - docker-login |
| 1478 | - maven-docker-push-daily: |
| 1479 | maven-version: '{maven-version}' |
| 1480 | mvn-settings: '{mvn-settings}' |
| 1481 | pom: '{docker-pom}' |
| 1482 | properties: '{maven-properties}' |
| 1483 | # use default as mvn-profile if profile is not needed |
| 1484 | mvn-profile: '{mvn-profile}' |
| 1485 | publishers: |
| 1486 | - infra-shiplogs: |
| 1487 | maven-version: '{maven-version}' |
| 1488 | |
| 1489 | - job-template: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1490 | name: '{project-name}-{stream}-docker-java-shell-daily' |
| 1491 | project-type: freestyle |
| 1492 | node: 'ubuntu1604-docker-8c-8g' |
| 1493 | |
| 1494 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1495 | - infra-properties: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1496 | build-days-to-keep: '{build-days-to-keep}' |
| 1497 | |
| 1498 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1499 | - infra-parameters: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1500 | project: '{project}' |
| 1501 | branch: '{branch}' |
| 1502 | refspec: 'refs/heads/{branch}' |
| 1503 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1504 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1505 | maven-version: '{maven-version}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1506 | |
| 1507 | scm: |
| 1508 | - gerrit-trigger-scm: |
| 1509 | refspec: '' |
| 1510 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1511 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1512 | |
| 1513 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1514 | - infra-wrappers: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1515 | build-timeout: '{build-timeout}' |
| 1516 | |
| 1517 | triggers: |
| 1518 | # 12 AM UTC |
| 1519 | - timed: 'H 12 * * *' |
| 1520 | - gerrit-trigger-release-manually: |
| 1521 | server: '{server-name}' |
| 1522 | project: '{project}' |
| 1523 | branch: '{branch}' |
| 1524 | |
| 1525 | builders: |
| 1526 | |
| 1527 | - provide-maven-settings: |
| 1528 | global-settings-file: 'global-settings' |
| 1529 | settings-file: '{mvn-settings}' |
| 1530 | |
| 1531 | - docker-login |
| 1532 | |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 1533 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1534 | maven-version: '{maven-version}' |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 1535 | goals: '{mvn-goals}' |
| 1536 | settings: '{mvn-settings}' |
| 1537 | settings-type: cfp |
| 1538 | global-settings: 'global-settings' |
| 1539 | global-settings-type: cfp |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1540 | |
| 1541 | - shell: '{script}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1542 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1543 | publishers: |
| 1544 | - infra-shiplogs: |
| 1545 | maven-version: '{maven-version}' |
| 1546 | |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1547 | - job-template: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1548 | name: '{project-name}-{stream}-docker-java-version-shell-daily' |
| 1549 | project-type: freestyle |
| 1550 | node: 'ubuntu1604-docker-8c-8g' |
| 1551 | |
| 1552 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1553 | - infra-properties: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1554 | build-days-to-keep: '{build-days-to-keep}' |
| 1555 | |
| 1556 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1557 | - infra-parameters: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1558 | project: '{project}' |
| 1559 | branch: '{branch}' |
| 1560 | refspec: 'refs/heads/{branch}' |
| 1561 | artifacts: '{archive-artifacts}' |
| 1562 | - maven-exec: |
| 1563 | maven-version: '{maven-version}' |
| 1564 | |
| 1565 | scm: |
| 1566 | - gerrit-trigger-scm: |
| 1567 | refspec: '' |
| 1568 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1569 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1570 | |
| 1571 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1572 | - infra-wrappers: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1573 | build-timeout: '{build-timeout}' |
| 1574 | |
| 1575 | triggers: |
| 1576 | # 12 AM UTC |
| 1577 | - timed: 'H 12 * * *' |
| 1578 | - gerrit-trigger-release-manually: |
| 1579 | server: '{server-name}' |
| 1580 | project: '{project}' |
| 1581 | branch: '{branch}' |
| 1582 | |
| 1583 | builders: |
| 1584 | |
| 1585 | - provide-maven-settings: |
| 1586 | global-settings-file: 'global-settings' |
| 1587 | settings-file: '{mvn-settings}' |
| 1588 | |
| 1589 | - inject: |
| 1590 | properties-file: version.properties |
| 1591 | |
| 1592 | - maven-target: |
| 1593 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 1594 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1595 | properties: |
| 1596 | - 'newVersion=${{release_version}}' |
| 1597 | settings: '{mvn-settings}' |
| 1598 | settings-type: cfp |
| 1599 | global-settings: 'global-settings' |
| 1600 | global-settings-type: cfp |
| 1601 | |
| 1602 | - docker-login |
| 1603 | |
| 1604 | - maven-target: |
| 1605 | maven-version: '{maven-version}' |
| 1606 | goals: '{mvn-goals}' |
| 1607 | settings: '{mvn-settings}' |
| 1608 | settings-type: cfp |
| 1609 | global-settings: 'global-settings' |
| 1610 | global-settings-type: cfp |
| 1611 | |
| 1612 | - shell: '{script}' |
| 1613 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1614 | publishers: |
| 1615 | - infra-shiplogs: |
| 1616 | maven-version: '{maven-version}' |
| 1617 | |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1618 | - job-template: |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1619 | name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily' |
| 1620 | project-type: freestyle |
| 1621 | node: 'ubuntu1604-docker-8c-8g' |
| 1622 | |
| 1623 | properties: |
| 1624 | - infra-properties: |
| 1625 | build-days-to-keep: '{build-days-to-keep}' |
| 1626 | |
| 1627 | parameters: |
| 1628 | - infra-parameters: |
| 1629 | project: '{project}' |
| 1630 | branch: '{branch}' |
| 1631 | refspec: 'refs/heads/{branch}' |
| 1632 | artifacts: '{archive-artifacts}' |
| 1633 | - maven-exec: |
| 1634 | maven-version: '{maven-version}' |
| 1635 | |
| 1636 | scm: |
| 1637 | - gerrit-trigger-scm: |
| 1638 | refspec: '' |
| 1639 | choosing-strategy: 'default' |
| 1640 | submodule-recursive: '{submodule-recursive}' |
| 1641 | |
| 1642 | wrappers: |
| 1643 | - infra-wrappers: |
| 1644 | build-timeout: '{build-timeout}' |
| 1645 | |
| 1646 | triggers: |
| 1647 | # 12 AM UTC |
| 1648 | - timed: 'H 12 * * *' |
| 1649 | - gerrit-trigger-release-manually: |
| 1650 | server: '{server-name}' |
| 1651 | project: '{project}' |
| 1652 | branch: '{branch}' |
| 1653 | |
| 1654 | builders: |
| 1655 | |
| 1656 | - provide-maven-settings: |
| 1657 | global-settings-file: 'global-settings' |
| 1658 | settings-file: '{mvn-settings}' |
| 1659 | |
| 1660 | - inject: |
| 1661 | properties-file: version.properties |
| 1662 | |
| 1663 | - maven-target: |
| 1664 | maven-version: '{maven-version}' |
| 1665 | pom: '{pom}' |
| 1666 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
| 1667 | properties: |
| 1668 | - 'newVersion=${{release_version}}' |
| 1669 | settings: '{mvn-settings}' |
| 1670 | settings-type: cfp |
| 1671 | global-settings: 'global-settings' |
| 1672 | global-settings-type: cfp |
| 1673 | |
| 1674 | - docker-login |
| 1675 | |
| 1676 | - maven-target: |
| 1677 | maven-version: '{maven-version}' |
| 1678 | pom: '{pom}' |
| 1679 | goals: '{mvn-goals}' |
| 1680 | settings: '{mvn-settings}' |
| 1681 | settings-type: cfp |
| 1682 | global-settings: 'global-settings' |
| 1683 | global-settings-type: cfp |
| 1684 | |
| 1685 | - shell: '{script}' |
| 1686 | |
| 1687 | publishers: |
| 1688 | - infra-shiplogs: |
| 1689 | maven-version: '{maven-version}' |
| 1690 | |
| 1691 | - job-template: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1692 | name: '{project-name}-{stream}-docker-version-java-daily' |
| 1693 | project-type: freestyle |
| 1694 | node: 'ubuntu1604-docker-8c-8g' |
| 1695 | |
| 1696 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1697 | - infra-properties: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1698 | build-days-to-keep: '{build-days-to-keep}' |
| 1699 | |
| 1700 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1701 | - infra-parameters: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1702 | project: '{project}' |
| 1703 | branch: '{branch}' |
| 1704 | refspec: 'refs/heads/{branch}' |
| 1705 | artifacts: '{archive-artifacts}' |
| 1706 | - maven-exec: |
| 1707 | maven-version: '{maven-version}' |
| 1708 | |
| 1709 | scm: |
| 1710 | - gerrit-trigger-scm: |
| 1711 | refspec: '' |
| 1712 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1713 | submodule-recursive: '{submodule-recursive}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1714 | |
| 1715 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1716 | - infra-wrappers: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1717 | build-timeout: '{build-timeout}' |
| 1718 | |
| 1719 | triggers: |
| 1720 | # 12 AM UTC |
| 1721 | - timed: 'H 12 * * *' |
| 1722 | - gerrit-trigger-release-manually: |
| 1723 | server: '{server-name}' |
| 1724 | project: '{project}' |
| 1725 | branch: '{branch}' |
| 1726 | |
| 1727 | builders: |
| 1728 | |
| 1729 | - provide-maven-settings: |
| 1730 | global-settings-file: 'global-settings' |
| 1731 | settings-file: '{mvn-settings}' |
| 1732 | |
| 1733 | - inject: |
| 1734 | properties-file: version.properties |
| 1735 | |
| 1736 | - maven-target: |
| 1737 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 1738 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1739 | properties: |
| 1740 | - 'newVersion=${{release_version}}' |
| 1741 | settings: '{mvn-settings}' |
| 1742 | settings-type: cfp |
| 1743 | global-settings: 'global-settings' |
| 1744 | global-settings-type: cfp |
| 1745 | |
| 1746 | - docker-login |
| 1747 | |
| 1748 | - maven-docker-push-daily: |
| 1749 | maven-version: '{maven-version}' |
| 1750 | mvn-settings: '{mvn-settings}' |
| 1751 | pom: '{docker-pom}' |
| 1752 | # use default as mvn-profile if profile is not needed |
| 1753 | mvn-profile: '{mvn-profile}' |
| 1754 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1755 | publishers: |
| 1756 | - infra-shiplogs: |
| 1757 | maven-version: '{maven-version}' |
| 1758 | |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1759 | - job-template: |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1760 | name: '{project-name}-{stream}-{subproject}-docker-version-java-daily' |
| 1761 | project-type: freestyle |
| 1762 | node: 'ubuntu1604-docker-8c-8g' |
| 1763 | |
| 1764 | properties: |
| 1765 | - infra-properties: |
| 1766 | build-days-to-keep: '{build-days-to-keep}' |
| 1767 | |
| 1768 | parameters: |
| 1769 | - infra-parameters: |
| 1770 | project: '{project}' |
| 1771 | branch: '{branch}' |
| 1772 | refspec: 'refs/heads/{branch}' |
| 1773 | artifacts: '{archive-artifacts}' |
| 1774 | - maven-exec: |
| 1775 | maven-version: '{maven-version}' |
| 1776 | |
| 1777 | scm: |
| 1778 | - gerrit-trigger-scm: |
| 1779 | refspec: '' |
| 1780 | choosing-strategy: 'default' |
| 1781 | submodule-recursive: '{submodule-recursive}' |
| 1782 | |
| 1783 | wrappers: |
| 1784 | - infra-wrappers: |
| 1785 | build-timeout: '{build-timeout}' |
| 1786 | |
| 1787 | triggers: |
| 1788 | # 12 AM UTC |
| 1789 | - timed: 'H 12 * * *' |
| 1790 | - gerrit-trigger-release-manually: |
| 1791 | server: '{server-name}' |
| 1792 | project: '{project}' |
| 1793 | branch: '{branch}' |
| 1794 | |
| 1795 | builders: |
| 1796 | |
| 1797 | - provide-maven-settings: |
| 1798 | global-settings-file: 'global-settings' |
| 1799 | settings-file: '{mvn-settings}' |
| 1800 | |
| 1801 | - inject: |
| 1802 | properties-file: version.properties |
| 1803 | |
| 1804 | - maven-target: |
| 1805 | maven-version: '{maven-version}' |
| 1806 | pom: '{pom}' |
| 1807 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
| 1808 | properties: |
| 1809 | - 'newVersion=${{release_version}}' |
| 1810 | settings: '{mvn-settings}' |
| 1811 | settings-type: cfp |
| 1812 | global-settings: 'global-settings' |
| 1813 | global-settings-type: cfp |
| 1814 | |
| 1815 | - docker-login |
| 1816 | |
| 1817 | - maven-docker-push-daily: |
| 1818 | maven-version: '{maven-version}' |
| 1819 | pom: '{pom}' |
| 1820 | mvn-settings: '{mvn-settings}' |
| 1821 | pom: '{docker-pom}' |
| 1822 | # use default as mvn-profile if profile is not needed |
| 1823 | mvn-profile: '{mvn-profile}' |
| 1824 | |
| 1825 | publishers: |
| 1826 | - infra-shiplogs: |
| 1827 | maven-version: '{maven-version}' |
| 1828 | |
| 1829 | - job-template: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1830 | name: '{project-name}-{stream}-aai-docker-java-daily' |
| 1831 | project-type: freestyle |
| 1832 | node: 'ubuntu1604-docker-8c-8g' |
Gary Wu | dc3f295 | 2017-08-23 16:48:59 -0700 | [diff] [blame] | 1833 | docker-image-name: '' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1834 | |
| 1835 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1836 | - infra-properties: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1837 | build-days-to-keep: '{build-days-to-keep}' |
| 1838 | |
| 1839 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1840 | - infra-parameters: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1841 | project: '{project}' |
| 1842 | branch: '{branch}' |
| 1843 | refspec: 'refs/heads/{branch}' |
| 1844 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1845 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1846 | maven-version: '{maven-version}' |
Gary Wu | dc3f295 | 2017-08-23 16:48:59 -0700 | [diff] [blame] | 1847 | - docker-image-name: |
| 1848 | docker-image-name: '{docker-image-name}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1849 | |
| 1850 | scm: |
| 1851 | - gerrit-trigger-scm: |
| 1852 | refspec: '' |
| 1853 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1854 | submodule-recursive: '{submodule-recursive}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1855 | |
| 1856 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1857 | - infra-wrappers: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1858 | build-timeout: '{build-timeout}' |
| 1859 | |
| 1860 | triggers: |
| 1861 | # 12 AM UTC |
| 1862 | - timed: 'H 12 * * *' |
| 1863 | - gerrit-trigger-release-manually: |
| 1864 | server: '{server-name}' |
| 1865 | project: '{project}' |
| 1866 | branch: '{branch}' |
| 1867 | |
| 1868 | builders: |
| 1869 | |
| 1870 | - provide-maven-settings: |
| 1871 | global-settings-file: 'global-settings' |
| 1872 | settings-file: '{mvn-settings}' |
| 1873 | |
| 1874 | - docker-login |
| 1875 | |
| 1876 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1877 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1878 | pom: 'pom.xml' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1879 | goals: 'clean install -DskipTests -B |
| 1880 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1881 | settings: '{mvn-settings}' |
| 1882 | settings-type: cfp |
| 1883 | global-settings: 'global-settings' |
| 1884 | global-settings-type: cfp |
| 1885 | |
| 1886 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1887 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1888 | pom: '{pom}' |
| 1889 | goals: '{mvn-goals}' |
| 1890 | settings: '{mvn-settings}' |
| 1891 | settings-type: cfp |
| 1892 | global-settings: 'global-settings' |
| 1893 | global-settings-type: cfp |
| 1894 | properties: |
| 1895 | - maven.test.skip=true |
Jeremy Phelps | 48028ab | 2017-03-28 15:38:24 -0500 | [diff] [blame] | 1896 | - docker.pull.registry=nexus3.onap.org:10001 |
| 1897 | - docker.push.registry=nexus3.onap.org:10003 |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1898 | |
Venkata Harish K Kajur | bf07d0a | 2017-03-26 11:58:15 +0000 | [diff] [blame] | 1899 | - shell: !include-raw-escape: include-docker-push.sh |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1900 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1901 | publishers: |
| 1902 | - infra-shiplogs: |
| 1903 | maven-version: '{maven-version}' |
| 1904 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1905 | - job-template: |
Jessica Wagantall | fec9448 | 2017-09-19 11:49:15 -0700 | [diff] [blame] | 1906 | name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily' |
| 1907 | project-type: freestyle |
| 1908 | node: 'ubuntu1604-docker-8c-8g' |
| 1909 | docker-image-name: '' |
| 1910 | |
| 1911 | properties: |
| 1912 | - infra-properties: |
| 1913 | build-days-to-keep: '{build-days-to-keep}' |
| 1914 | |
| 1915 | parameters: |
| 1916 | - infra-parameters: |
| 1917 | project: '{project}' |
| 1918 | branch: '{branch}' |
| 1919 | refspec: 'refs/heads/{branch}' |
| 1920 | artifacts: '{archive-artifacts}' |
| 1921 | - maven-exec: |
| 1922 | maven-version: '{maven-version}' |
| 1923 | - docker-image-name: |
| 1924 | docker-image-name: '{docker-image-name}' |
| 1925 | |
| 1926 | scm: |
| 1927 | - gerrit-trigger-scm: |
| 1928 | refspec: '' |
| 1929 | choosing-strategy: 'default' |
| 1930 | submodule-recursive: '{submodule-recursive}' |
| 1931 | |
| 1932 | wrappers: |
| 1933 | - infra-wrappers: |
| 1934 | build-timeout: '{build-timeout}' |
| 1935 | |
| 1936 | triggers: |
| 1937 | # 12 AM UTC |
| 1938 | - timed: 'H 12 * * *' |
| 1939 | - gerrit-trigger-release-manually: |
| 1940 | server: '{server-name}' |
| 1941 | project: '{project}' |
| 1942 | branch: '{branch}' |
| 1943 | |
| 1944 | builders: |
| 1945 | |
| 1946 | - provide-maven-settings: |
| 1947 | global-settings-file: 'global-settings' |
| 1948 | settings-file: '{mvn-settings}' |
| 1949 | |
| 1950 | - docker-login |
| 1951 | |
| 1952 | - maven-target: |
| 1953 | maven-version: '{maven-version}' |
| 1954 | pom: 'pom.xml' |
| 1955 | goals: 'clean install -DskipTests -B |
| 1956 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 1957 | settings: '{mvn-settings}' |
| 1958 | settings-type: cfp |
| 1959 | global-settings: 'global-settings' |
| 1960 | global-settings-type: cfp |
| 1961 | |
| 1962 | - maven-target: |
| 1963 | maven-version: '{maven-version}' |
| 1964 | pom: '{pom}' |
| 1965 | goals: '{mvn-goals}' |
| 1966 | settings: '{mvn-settings}' |
| 1967 | settings-type: cfp |
| 1968 | global-settings: 'global-settings' |
| 1969 | global-settings-type: cfp |
| 1970 | properties: |
| 1971 | - maven.test.skip=true |
| 1972 | - docker.pull.registry=nexus3.onap.org:10001 |
| 1973 | - docker.push.registry=nexus3.onap.org:10003 |
| 1974 | |
| 1975 | - shell: !include-raw-escape: include-docker-push.sh |
| 1976 | |
| 1977 | publishers: |
| 1978 | - infra-shiplogs: |
| 1979 | maven-version: '{maven-version}' |
| 1980 | |
| 1981 | - job-template: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1982 | # Job template for Java daily release jobs |
| 1983 | # |
| 1984 | # The purpose of this job template is to run |
| 1985 | # - change version in all POM files to the release version specified |
| 1986 | # in version.properties. This is done using a script instread of |
| 1987 | # the mvn version plugin that assumes some specific parent structure. |
| 1988 | # - runs maven clean deploy sonar |
| 1989 | # |
| 1990 | # The POM files are required to use the Maven staging plugin so the deploy |
| 1991 | # does not deploy directly to the release repo. |
| 1992 | # |
| 1993 | # Required Variables: |
| 1994 | # branch: git branch (eg. stable/lithium or master) |
| 1995 | name: '{project-name}-{stream}-release-version2-java-daily' |
| 1996 | |
| 1997 | project-type: freestyle |
| 1998 | node: '{build-node}' |
| 1999 | maven-deploy-properties: |
| 2000 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2001 | - infra-properties: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2002 | build-days-to-keep: '{build-days-to-keep}' |
| 2003 | |
| 2004 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2005 | - infra-parameters: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2006 | project: '{project}' |
| 2007 | branch: '{branch}' |
| 2008 | refspec: 'refs/heads/{branch}' |
| 2009 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 2010 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 2011 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2012 | |
| 2013 | scm: |
| 2014 | - gerrit-trigger-scm: |
| 2015 | refspec: '' |
| 2016 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 2017 | submodule-recursive: '{submodule-recursive}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2018 | |
| 2019 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2020 | - infra-wrappers: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2021 | build-timeout: '{build-timeout}' |
| 2022 | |
| 2023 | triggers: |
| 2024 | # 11 AM UTC |
| 2025 | - timed: 'H 11 * * *' |
| 2026 | - gerrit-trigger-release-manually: |
| 2027 | server: '{server-name}' |
| 2028 | project: '{project}' |
| 2029 | branch: '{branch}' |
| 2030 | |
| 2031 | builders: |
| 2032 | - provide-maven-settings: |
| 2033 | global-settings-file: 'global-settings' |
| 2034 | settings-file: '{mvn-settings}' |
Andrew Grimberg | b7f1615 | 2017-02-24 13:13:15 -0800 | [diff] [blame] | 2035 | - maven-install: |
| 2036 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2037 | |
| 2038 | - inject: |
| 2039 | properties-file: version.properties |
| 2040 | |
| 2041 | - shell: !include-raw-escape: include-update-pom-versions.sh |
| 2042 | |
| 2043 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 2044 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 2045 | goals: 'clean deploy sonar:sonar site:site site:stage-deploy |
| 2046 | -Dsonar.host.url=${{SONAR}} -B |
| 2047 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2048 | properties: |
| 2049 | - '{maven-deploy-properties}' |
| 2050 | settings: '{mvn-settings}' |
| 2051 | settings-type: cfp |
| 2052 | global-settings: 'global-settings' |
| 2053 | global-settings-type: cfp |
| 2054 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 2055 | publishers: |
| 2056 | - infra-shiplogs: |
| 2057 | maven-version: '{maven-version}' |
| 2058 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2059 | - job-template: |
| 2060 | # Job template for Java daily release jobs |
| 2061 | # |
| 2062 | # The purpose of this job template is to run |
| 2063 | # - change version in all POM files to the release version specified |
| 2064 | # in version.properties. This is done using a script instread of |
| 2065 | # the mvn version plugin that assumes some specific parent structure. |
| 2066 | # - runs maven clean deploy sonar |
| 2067 | # |
| 2068 | # The POM files are required to use the Maven staging plugin so the deploy |
| 2069 | # does not deploy directly to the release repo. |
| 2070 | # |
| 2071 | # Required Variables: |
| 2072 | # branch: git branch (eg. stable/lithium or master) |
| 2073 | # pom: name/location of the pom.xml file relative to the workspace |
| 2074 | # pattern: ant file-path pattern relative to the workspace used to |
| 2075 | # trigger the job |
| 2076 | |
| 2077 | name: '{project-name}-{stream}-{subproject}-release-version2-java-daily' |
| 2078 | |
| 2079 | project-type: freestyle |
| 2080 | node: '{build-node}' |
| 2081 | maven-deploy-properties: |
| 2082 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2083 | - infra-properties: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2084 | build-days-to-keep: '{build-days-to-keep}' |
| 2085 | |
| 2086 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2087 | - infra-parameters: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2088 | project: '{project}' |
| 2089 | branch: '{branch}' |
| 2090 | refspec: 'refs/heads/{branch}' |
| 2091 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 2092 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 2093 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2094 | |
| 2095 | scm: |
| 2096 | - gerrit-trigger-scm: |
| 2097 | refspec: '' |
| 2098 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 2099 | submodule-recursive: '{submodule-recursive}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2100 | |
| 2101 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2102 | - infra-wrappers: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2103 | build-timeout: '{build-timeout}' |
| 2104 | |
| 2105 | triggers: |
| 2106 | # 11 AM UTC |
| 2107 | - timed: 'H 11 * * *' |
| 2108 | - gerrit-trigger-release-manually: |
| 2109 | server: '{server-name}' |
| 2110 | project: '{project}' |
| 2111 | branch: '{branch}' |
| 2112 | files: '{pattern}' |
| 2113 | |
| 2114 | builders: |
| 2115 | - provide-maven-settings: |
| 2116 | global-settings-file: 'global-settings' |
| 2117 | settings-file: '{mvn-settings}' |
Andrew Grimberg | b7f1615 | 2017-02-24 13:13:15 -0800 | [diff] [blame] | 2118 | - maven-install: |
| 2119 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2120 | |
| 2121 | - inject: |
| 2122 | properties-file: version.properties |
| 2123 | |
| 2124 | - shell: !include-raw-escape: include-update-pom-versions.sh |
| 2125 | |
| 2126 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 2127 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2128 | pom: '{pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 2129 | goals: 'clean deploy sonar:sonar site:site site:stage-deploy |
| 2130 | -Dsonar.host.url=${{SONAR}} -B |
| 2131 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 2132 | properties: |
| 2133 | - '{maven-deploy-properties}' |
| 2134 | settings: '{mvn-settings}' |
| 2135 | settings-type: cfp |
| 2136 | global-settings: 'global-settings' |
| 2137 | global-settings-type: cfp |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2138 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 2139 | publishers: |
| 2140 | - infra-shiplogs: |
| 2141 | maven-version: '{maven-version}' |
| 2142 | |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2143 | - job-template: |
Dan Timoney | a44e0b4 | 2017-10-06 09:52:29 -0400 | [diff] [blame] | 2144 | # Job template for Java daily release jobs |
| 2145 | # |
| 2146 | # The purpose of this job template is to run |
| 2147 | # - change version in all POM files to the release version specified |
| 2148 | # in version.properties. This is done using a script instread of |
| 2149 | # the mvn version plugin that assumes some specific parent structure |
| 2150 | # This version does NOT change the version within the <parent> tag. |
| 2151 | # - runs maven clean deploy sonar |
| 2152 | # |
| 2153 | # The POM files are required to use the Maven staging plugin so the deploy |
| 2154 | # does not deploy directly to the release repo. |
| 2155 | # |
| 2156 | # Required Variables: |
| 2157 | # branch: git branch (eg. stable/lithium or master) |
| 2158 | # pom: name/location of the pom.xml file relative to the workspace |
| 2159 | # pattern: ant file-path pattern relative to the workspace used to |
| 2160 | # trigger the job |
| 2161 | |
| 2162 | name: '{project-name}-{stream}-{subproject}-release-version3-java-daily' |
| 2163 | |
| 2164 | project-type: freestyle |
| 2165 | node: '{build-node}' |
| 2166 | maven-deploy-properties: |
| 2167 | properties: |
| 2168 | - infra-properties: |
| 2169 | build-days-to-keep: '{build-days-to-keep}' |
| 2170 | |
| 2171 | parameters: |
| 2172 | - infra-parameters: |
| 2173 | project: '{project}' |
| 2174 | branch: '{branch}' |
| 2175 | refspec: 'refs/heads/{branch}' |
| 2176 | artifacts: '{archive-artifacts}' |
| 2177 | - maven-exec: |
| 2178 | maven-version: '{maven-version}' |
| 2179 | |
| 2180 | scm: |
| 2181 | - gerrit-trigger-scm: |
| 2182 | refspec: '' |
| 2183 | choosing-strategy: 'default' |
| 2184 | submodule-recursive: '{submodule-recursive}' |
| 2185 | |
| 2186 | wrappers: |
| 2187 | - infra-wrappers: |
| 2188 | build-timeout: '{build-timeout}' |
| 2189 | |
| 2190 | triggers: |
| 2191 | # 11 AM UTC |
| 2192 | - timed: 'H 11 * * *' |
| 2193 | - gerrit-trigger-release-manually: |
| 2194 | server: '{server-name}' |
| 2195 | project: '{project}' |
| 2196 | branch: '{branch}' |
| 2197 | files: '{pattern}' |
| 2198 | |
| 2199 | builders: |
| 2200 | - provide-maven-settings: |
| 2201 | global-settings-file: 'global-settings' |
| 2202 | settings-file: '{mvn-settings}' |
| 2203 | - maven-install: |
| 2204 | maven-version: '{maven-version}' |
| 2205 | |
| 2206 | - inject: |
| 2207 | properties-file: version.properties |
| 2208 | |
| 2209 | - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh |
| 2210 | |
| 2211 | - maven-target: |
| 2212 | maven-version: '{maven-version}' |
| 2213 | pom: '{pom}' |
| 2214 | goals: 'clean deploy sonar:sonar site:site site:stage-deploy |
| 2215 | -Dsonar.host.url=${{SONAR}} -B |
| 2216 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 2217 | properties: |
| 2218 | - '{maven-deploy-properties}' |
| 2219 | settings: '{mvn-settings}' |
| 2220 | settings-type: cfp |
| 2221 | global-settings: 'global-settings' |
| 2222 | global-settings-type: cfp |
| 2223 | |
| 2224 | publishers: |
| 2225 | - infra-shiplogs: |
| 2226 | maven-version: '{maven-version}' |
| 2227 | |
| 2228 | - job-template: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2229 | # Template for maven site plugin invocation |
| 2230 | # |
| 2231 | # It's designed to be triggered when the trigger-job job |
| 2232 | # succeeds as there's no need for new documentaiton |
| 2233 | # if the build job fails. |
| 2234 | # |
| 2235 | # Those parameters should be set : |
| 2236 | # - site-pom : the pom file that contains the site confiration |
| 2237 | # - trigger-job : the name of the project that triggers this job |
| 2238 | # upon success. The job name can be |
| 2239 | # parameterized. |
| 2240 | name: '{project-name}-{stream}-stage-site-java' |
| 2241 | project-type: freestyle |
Anaël Closson | b8c5fb5 | 2017-03-14 15:43:18 +0100 | [diff] [blame] | 2242 | node: '{build-node}' |
Jessica Wagantall | f13258b | 2017-10-02 16:43:10 -0700 | [diff] [blame] | 2243 | pom: 'pom.xml' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2244 | |
| 2245 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2246 | - infra-properties: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2247 | build-days-to-keep: '{build-days-to-keep}' |
| 2248 | |
| 2249 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2250 | - infra-parameters: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2251 | project: '{project}' |
| 2252 | branch: '{branch}' |
| 2253 | refspec: 'refs/heads/{branch}' |
| 2254 | artifacts: '{archive-artifacts}' |
| 2255 | - maven-exec: |
| 2256 | maven-version: '{maven-version}' |
| 2257 | |
| 2258 | scm: |
| 2259 | - gerrit-trigger-scm: |
| 2260 | refspec: '' |
| 2261 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 2262 | submodule-recursive: '{submodule-recursive}' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2263 | |
| 2264 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 2265 | - infra-wrappers: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2266 | build-timeout: '{build-timeout}' |
| 2267 | |
| 2268 | triggers: |
| 2269 | - trigger-on-build-success: |
| 2270 | job-name: '{trigger-job}' |
| 2271 | |
| 2272 | builders: |
| 2273 | - provide-maven-settings: |
| 2274 | global-settings-file: 'global-settings' |
| 2275 | settings-file: '{mvn-settings}' |
Anaël Closson | 0916684 | 2017-03-15 11:19:40 +0100 | [diff] [blame] | 2276 | - inject: |
| 2277 | properties-file: version.properties |
| 2278 | - maven-target: |
| 2279 | maven-version: '{maven-version}' |
Jessica Wagantall | f13258b | 2017-10-02 16:43:10 -0700 | [diff] [blame] | 2280 | pom: '{pom}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 2281 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Anaël Closson | 0916684 | 2017-03-15 11:19:40 +0100 | [diff] [blame] | 2282 | properties: |
| 2283 | - 'newVersion=${{release_version}}' |
| 2284 | settings: '{mvn-settings}' |
| 2285 | settings-type: cfp |
| 2286 | global-settings: 'global-settings' |
| 2287 | global-settings-type: cfp |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2288 | |
| 2289 | - maven-target: |
| 2290 | maven-version: '{maven-version}' |
Anaël Closson | 03222ed | 2017-03-13 16:37:09 +0100 | [diff] [blame] | 2291 | pom: '{site-pom}' |
Christopher Lott (cl778h) | e865716 | 2017-10-23 13:48:22 -0400 | [diff] [blame] | 2292 | goals: 'clean site:site site:stage-deploy -B' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 2293 | settings: '{mvn-settings}' |
| 2294 | settings-type: cfp |
| 2295 | global-settings: 'global-settings' |
| 2296 | global-settings-type: cfp |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 2297 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 2298 | publishers: |
| 2299 | - infra-shiplogs: |
| 2300 | maven-version: '{maven-version}' |
| 2301 | |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 2302 | - job-template: |
| 2303 | # Job template for Java merge jobs |
| 2304 | # |
| 2305 | # The purpose of this job template is to run "maven clean deploy" for |
| 2306 | # projects using this template. |
| 2307 | # |
| 2308 | # Required Variables: |
| 2309 | # branch: git branch (eg. stable/lithium or master) |
| 2310 | name: '{project-name}-{stream}-sdc-merge-java' |
| 2311 | |
| 2312 | project-type: freestyle |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 2313 | node: 'ubuntu1604-docker-8c-8g' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 2314 | |
| 2315 | properties: |
| 2316 | - infra-properties: |
| 2317 | build-days-to-keep: '{build-days-to-keep}' |
| 2318 | |
| 2319 | parameters: |
| 2320 | - infra-parameters: |
| 2321 | project: '{project}' |
| 2322 | branch: '{branch}' |
| 2323 | refspec: 'refs/heads/{branch}' |
| 2324 | artifacts: '{archive-artifacts}' |
| 2325 | - maven-exec: |
| 2326 | maven-version: '{maven-version}' |
| 2327 | |
| 2328 | scm: |
| 2329 | - gerrit-trigger-scm: |
| 2330 | refspec: '' |
| 2331 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 2332 | submodule-recursive: '{submodule-recursive}' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 2333 | |
| 2334 | wrappers: |
| 2335 | - infra-wrappers: |
| 2336 | build-timeout: '{build-timeout}' |
| 2337 | |
| 2338 | triggers: |
| 2339 | - gerrit-trigger-patch-merged: |
| 2340 | server: '{server-name}' |
| 2341 | project: '{project}' |
| 2342 | branch: '{branch}' |
| 2343 | files: '**' |
| 2344 | |
| 2345 | builders: |
| 2346 | - provide-maven-settings: |
| 2347 | global-settings-file: 'global-settings' |
| 2348 | settings-file: '{mvn-settings}' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 2349 | |
| 2350 | - docker-login |
| 2351 | |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 2352 | - maven-docker-push-daily: |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 2353 | maven-version: '{maven-version}' |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 2354 | mvn-settings: '{mvn-settings}' |
| 2355 | pom: '{docker-pom}' |
| 2356 | # use default as mvn-profile if profile is not needed |
| 2357 | mvn-profile: '{mvn-profile}' |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 2358 | |
| 2359 | publishers: |
| 2360 | - infra-shiplogs: |
| 2361 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | 2bf22a0 | 2017-05-15 16:22:55 -0400 | [diff] [blame] | 2362 | |
| 2363 | - job-template: |
| 2364 | name: '{project-name}-{stream}-aai-docker-java-version-daily' |
| 2365 | project-type: freestyle |
| 2366 | node: 'ubuntu1604-docker-8c-8g' |
| 2367 | |
| 2368 | properties: |
| 2369 | - infra-properties: |
| 2370 | build-days-to-keep: '{build-days-to-keep}' |
| 2371 | |
| 2372 | parameters: |
| 2373 | - infra-parameters: |
| 2374 | project: '{project}' |
| 2375 | branch: '{branch}' |
| 2376 | refspec: 'refs/heads/{branch}' |
| 2377 | artifacts: '{archive-artifacts}' |
| 2378 | - maven-exec: |
| 2379 | maven-version: '{maven-version}' |
| 2380 | |
| 2381 | scm: |
| 2382 | - gerrit-trigger-scm: |
| 2383 | refspec: '' |
| 2384 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 2385 | submodule-recursive: '{submodule-recursive}' |
Venkata Harish K Kajur | 2bf22a0 | 2017-05-15 16:22:55 -0400 | [diff] [blame] | 2386 | |
| 2387 | wrappers: |
| 2388 | - infra-wrappers: |
| 2389 | build-timeout: '{build-timeout}' |
| 2390 | |
| 2391 | triggers: |
| 2392 | # 12 AM UTC |
| 2393 | - timed: 'H 12 * * *' |
| 2394 | - gerrit-trigger-release-manually: |
| 2395 | server: '{server-name}' |
| 2396 | project: '{project}' |
| 2397 | branch: '{branch}' |
| 2398 | |
| 2399 | builders: |
| 2400 | |
| 2401 | - provide-maven-settings: |
| 2402 | global-settings-file: 'global-settings' |
| 2403 | settings-file: '{mvn-settings}' |
| 2404 | |
| 2405 | - docker-login |
| 2406 | |
| 2407 | - maven-target: |
| 2408 | maven-version: '{maven-version}' |
| 2409 | pom: 'pom.xml' |
| 2410 | goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 2411 | settings: '{mvn-settings}' |
| 2412 | settings-type: cfp |
| 2413 | global-settings: 'global-settings' |
| 2414 | global-settings-type: cfp |
| 2415 | |
| 2416 | - maven-target: |
| 2417 | maven-version: '{maven-version}' |
| 2418 | pom: '{pom}' |
| 2419 | goals: '{mvn-goals}' |
| 2420 | settings: '{mvn-settings}' |
| 2421 | settings-type: cfp |
| 2422 | global-settings: 'global-settings' |
| 2423 | global-settings-type: cfp |
| 2424 | properties: |
| 2425 | - maven.test.skip=true |
| 2426 | - docker.pull.registry=nexus3.onap.org:10001 |
| 2427 | - docker.push.registry=nexus3.onap.org:10003 |
| 2428 | |
| 2429 | publishers: |
| 2430 | - infra-shiplogs: |
| 2431 | maven-version: '{maven-version}' |
| 2432 | |