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