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