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