Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1 | --- |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 2 | - job-template: &verify_java_defaults |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 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: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 6 | # 1. maven clean install |
Pamela Dragosh | c6ff9c7 | 2017-02-16 11:11:45 -0500 | [diff] [blame] | 7 | # |
| 8 | # Required Variables: |
| 9 | # branch: git branch (eg. stable/lithium or master) |
| 10 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 11 | name: '{project-name}-{stream}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 12 | |
| 13 | project-type: freestyle |
| 14 | concurrent: true |
| 15 | node: '{build-node}' |
Gary Wu | 5918acd | 2018-08-06 16:42:21 -0700 | [diff] [blame] | 16 | pattern: '**' |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 17 | pom: |
Jessica Wagantall | 5b0faff | 2019-08-30 12:45:08 -0700 | [diff] [blame] | 18 | mvn-opts: '' |
| 19 | java-opts: '' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 20 | |
| 21 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 22 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 23 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 24 | |
| 25 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 26 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 27 | project: '{project}' |
| 28 | branch: '{branch}' |
| 29 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 30 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 31 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 32 | maven-version: '{maven-version}' |
Jessica Wagantall | d25908c | 2018-03-28 12:06:39 -0700 | [diff] [blame] | 33 | - maven-params: |
| 34 | mvn-params: '{mvn-params}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 35 | |
| 36 | scm: |
| 37 | - gerrit-trigger-scm: |
| 38 | refspec: '$GERRIT_REFSPEC' |
| 39 | choosing-strategy: 'gerrit' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 40 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 41 | |
| 42 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 43 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 44 | build-timeout: '{build-timeout}' |
| 45 | |
| 46 | triggers: |
| 47 | - gerrit-trigger-patch-submitted: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 48 | server: '{server-name}' |
| 49 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 50 | branch: '{branch}' |
Gary Wu | 5918acd | 2018-08-06 16:42:21 -0700 | [diff] [blame] | 51 | files: '{obj:pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 52 | |
| 53 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 54 | - lf-infra-pre-build |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 55 | - provide-maven-settings: |
| 56 | global-settings-file: 'global-settings' |
| 57 | settings-file: '{mvn-settings}' |
| 58 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 59 | maven-version: '{maven-version}' |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 60 | pom: '{obj:pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 61 | goals: 'clean install -B |
Jessica Wagantall | d25908c | 2018-03-28 12:06:39 -0700 | [diff] [blame] | 62 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}' |
Jessica Wagantall | 5b0faff | 2019-08-30 12:45:08 -0700 | [diff] [blame] | 63 | properties: |
| 64 | - MAVEN_OPTS='{mvn-opts}' |
| 65 | java-opts: |
| 66 | - "{java-opts}" |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 67 | settings: '{mvn-settings}' |
| 68 | settings-type: cfp |
| 69 | global-settings: 'global-settings' |
| 70 | global-settings-type: cfp |
| 71 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 72 | publishers: |
| 73 | - infra-shiplogs: |
| 74 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 75 | |
| 76 | - job-template: |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 77 | # Job template for Java verify jobs running checkstyle at the end |
| 78 | # When checkstyle will be fully incorporated, it is meant to replace |
| 79 | # '{project-name}-{stream}-verify-java-checkstyle' |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 80 | # |
| 81 | # The purpose of this job template is to run: |
| 82 | # 1. maven clean install |
| 83 | # |
| 84 | # This job publishes checkstyle results. |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 85 | # |
| 86 | # Required Variables: |
| 87 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 88 | |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 89 | <<: *verify_java_defaults |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 90 | name: '{project-name}-{stream}-verify-java-checkstyle' |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 91 | publishers: |
| 92 | - infra-shiplogs: |
| 93 | maven-version: '{maven-version}' |
| 94 | - checkstyle-result |
| 95 | |
| 96 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 97 | # Job template for Java verify jobs with POM not at the root |
| 98 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 99 | # The purpose of this job template is to run: |
| 100 | # 1. maven clean install |
| 101 | # |
| 102 | # This job supports subprojects. |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 103 | # |
| 104 | # Required Variables: |
| 105 | # branch: git branch (eg. stable/lithium or master) |
| 106 | # pom: name/location of the pom.xml file relative to the workspace |
| 107 | # pattern: ant file-path pattern relative to the workspace used to |
| 108 | # trigger the job |
| 109 | |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 110 | <<: *verify_java_defaults |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 111 | name: '{project-name}-{stream}-{subproject}-verify-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 112 | |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 113 | - job-template: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 114 | # Job template for Java daily release jobs |
| 115 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 116 | # The purpose of this job template is to run: |
| 117 | # 1. maven clean deploy with Sonar scans |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 118 | # |
| 119 | # Required Variables: |
| 120 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 121 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 122 | name: '{project-name}-{stream}-release-java-daily' |
| 123 | |
| 124 | project-type: freestyle |
| 125 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 126 | disabled: '{disabled}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 127 | maven-deploy-properties: |
| 128 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 129 | - infra-properties: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 130 | build-days-to-keep: '{build-days-to-keep}' |
| 131 | |
| 132 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 133 | - infra-parameters: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 134 | project: '{project}' |
| 135 | branch: '{branch}' |
| 136 | refspec: 'refs/heads/{branch}' |
| 137 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 138 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 139 | maven-version: '{maven-version}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 140 | |
| 141 | scm: |
| 142 | - gerrit-trigger-scm: |
| 143 | refspec: '' |
| 144 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 145 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 146 | |
| 147 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 148 | - infra-wrappers: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 149 | build-timeout: '{build-timeout}' |
| 150 | |
| 151 | triggers: |
| 152 | # 11 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 153 | - timed: '@daily' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 154 | - gerrit-trigger-release-manually: |
| 155 | server: '{server-name}' |
| 156 | project: '{project}' |
| 157 | branch: '{branch}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 158 | |
| 159 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 160 | - lf-infra-pre-build |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 161 | - provide-maven-settings: |
| 162 | global-settings-file: 'global-settings' |
| 163 | settings-file: '{mvn-settings}' |
| 164 | |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 165 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 166 | maven-version: '{maven-version}' |
Jessica Wagantall | b0e72cd | 2018-01-29 16:07:22 -0800 | [diff] [blame] | 167 | goals: 'clean deploy -B |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 168 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 169 | properties: |
| 170 | - '{maven-deploy-properties}' |
Jessica Wagantall | 6223d1d | 2017-08-07 14:46:58 -0700 | [diff] [blame] | 171 | java-opts: |
| 172 | - '-Xmx4096m -XX:MaxPermSize=512m' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 173 | settings: '{mvn-settings}' |
| 174 | settings-type: cfp |
| 175 | global-settings: 'global-settings' |
| 176 | global-settings-type: cfp |
| 177 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 178 | publishers: |
| 179 | - infra-shiplogs: |
| 180 | maven-version: '{maven-version}' |
| 181 | |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 182 | - job-template: |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 183 | # Job template for Java daily release jobs running checkstyle at the end |
| 184 | # When checkstyle will be fully incorporated, it is meant to replace |
| 185 | # '{project-name}-{stream}-release-java-daily' |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 186 | # |
| 187 | # The purpose of this job template is to run: |
| 188 | # 1. maven clean deploy with Sonar scans |
| 189 | # |
| 190 | # This job publishes checkstyle results. |
| 191 | # This job uses a conditional regex match step to set versions. |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 192 | # |
| 193 | # Required Variables: |
| 194 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 195 | |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 196 | name: '{project-name}-{stream}-release-java-daily-checkstyle' |
| 197 | project-type: freestyle |
| 198 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 199 | disabled: '{disabled}' |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 200 | maven-deploy-properties: |
| 201 | properties: |
| 202 | - infra-properties: |
| 203 | build-days-to-keep: '{build-days-to-keep}' |
| 204 | parameters: |
| 205 | - infra-parameters: |
| 206 | project: '{project}' |
| 207 | branch: '{branch}' |
| 208 | refspec: 'refs/heads/{branch}' |
| 209 | artifacts: '{archive-artifacts}' |
| 210 | - maven-exec: |
| 211 | maven-version: '{maven-version}' |
| 212 | scm: |
| 213 | - gerrit-trigger-scm: |
| 214 | refspec: '' |
| 215 | choosing-strategy: 'default' |
| 216 | submodule-recursive: '{submodule-recursive}' |
| 217 | wrappers: |
| 218 | - infra-wrappers: |
| 219 | build-timeout: '{build-timeout}' |
| 220 | triggers: |
| 221 | # 11 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 222 | - timed: '@daily' |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 223 | - gerrit-trigger-release-manually: |
| 224 | server: '{server-name}' |
| 225 | project: '{project}' |
| 226 | branch: '{branch}' |
| 227 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 228 | - lf-infra-pre-build |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 229 | - provide-maven-settings: |
| 230 | global-settings-file: 'global-settings' |
| 231 | settings-file: '{mvn-settings}' |
JulienBe | d91a33a | 2017-09-25 15:56:34 +0200 | [diff] [blame] | 232 | - conditional-step: |
| 233 | condition-kind: regex-match |
| 234 | regex: DoSetVersion |
| 235 | label: '{setVersion}' |
| 236 | steps: |
| 237 | - inject: |
| 238 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 239 | - maven-set-release-version: |
JulienBe | d91a33a | 2017-09-25 15:56:34 +0200 | [diff] [blame] | 240 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 241 | mvn-settings: '{mvn-settings}' |
| 242 | pom: |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 243 | - maven-target: |
| 244 | maven-version: '{maven-version}' |
Jessica Wagantall | b0e72cd | 2018-01-29 16:07:22 -0800 | [diff] [blame] | 245 | goals: 'clean deploy -B |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 246 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
JulienBe | c9d90e2 | 2017-08-08 10:44:10 +0200 | [diff] [blame] | 247 | properties: '{obj:mvn_properties}' |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 248 | settings: '{mvn-settings}' |
| 249 | settings-type: cfp |
| 250 | global-settings: 'global-settings' |
| 251 | global-settings-type: cfp |
| 252 | publishers: |
| 253 | - infra-shiplogs: |
| 254 | maven-version: '{maven-version}' |
| 255 | - checkstyle-result-daily |
| 256 | |
| 257 | - job-template: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 258 | # Job template for Java daily release jobs |
| 259 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 260 | # The purpose of this job template is to run: |
| 261 | # 1. maven set versions |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 262 | # 2. maven clean deploy with Sonar scans |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 263 | # |
| 264 | # Required Variables: |
| 265 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 266 | |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 267 | name: '{project-name}-{stream}-release-version-java-daily' |
| 268 | |
| 269 | project-type: freestyle |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 270 | disabled: '{disabled}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 271 | node: '{build-node}' |
| 272 | maven-deploy-properties: |
| 273 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 274 | - infra-properties: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 275 | build-days-to-keep: '{build-days-to-keep}' |
| 276 | |
| 277 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 278 | - infra-parameters: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 279 | project: '{project}' |
| 280 | branch: '{branch}' |
| 281 | refspec: 'refs/heads/{branch}' |
| 282 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 283 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 284 | maven-version: '{maven-version}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 285 | |
| 286 | scm: |
| 287 | - gerrit-trigger-scm: |
| 288 | refspec: '' |
| 289 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 290 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 291 | |
| 292 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 293 | - infra-wrappers: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 294 | build-timeout: '{build-timeout}' |
| 295 | |
| 296 | triggers: |
| 297 | # 11 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 298 | - timed: '@daily' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 299 | - gerrit-trigger-release-manually: |
| 300 | server: '{server-name}' |
| 301 | project: '{project}' |
| 302 | branch: '{branch}' |
| 303 | |
| 304 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 305 | - lf-infra-pre-build |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 306 | - provide-maven-settings: |
| 307 | global-settings-file: 'global-settings' |
| 308 | settings-file: '{mvn-settings}' |
| 309 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 310 | - inject: |
| 311 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 312 | - maven-set-release-version: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 313 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 314 | mvn-settings: '{mvn-settings}' |
| 315 | pom: |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 316 | |
| 317 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 318 | maven-version: '{maven-version}' |
Jessica Wagantall | b0e72cd | 2018-01-29 16:07:22 -0800 | [diff] [blame] | 319 | goals: 'clean deploy -B |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 320 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | 24443ee | 2017-02-02 08:29:12 -0800 | [diff] [blame] | 321 | properties: |
| 322 | - '{maven-deploy-properties}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 323 | settings: '{mvn-settings}' |
| 324 | settings-type: cfp |
| 325 | global-settings: 'global-settings' |
| 326 | global-settings-type: cfp |
| 327 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 328 | publishers: |
| 329 | - infra-shiplogs: |
| 330 | maven-version: '{maven-version}' |
| 331 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 332 | - job-template: |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 333 | # Job template for Java daily release jobs |
| 334 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 335 | # The purpose of this job template is to run: |
| 336 | # 1. maven set versions |
| 337 | # 2. maven clean deploy -P {mvn-profile} with Sonar scans |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 338 | # |
| 339 | # Required Variables: |
| 340 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 341 | |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 342 | name: '{project-name}-{stream}-release-version-profile-java-daily' |
| 343 | |
| 344 | project-type: freestyle |
| 345 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 346 | disabled: '{disabled}' |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 347 | maven-deploy-properties: |
| 348 | properties: |
| 349 | - infra-properties: |
| 350 | build-days-to-keep: '{build-days-to-keep}' |
| 351 | |
| 352 | parameters: |
| 353 | - infra-parameters: |
| 354 | project: '{project}' |
| 355 | branch: '{branch}' |
| 356 | refspec: 'refs/heads/{branch}' |
| 357 | artifacts: '{archive-artifacts}' |
| 358 | - maven-exec: |
| 359 | maven-version: '{maven-version}' |
| 360 | |
| 361 | scm: |
| 362 | - gerrit-trigger-scm: |
| 363 | refspec: '' |
| 364 | choosing-strategy: 'default' |
| 365 | submodule-recursive: '{submodule-recursive}' |
| 366 | |
| 367 | wrappers: |
| 368 | - infra-wrappers: |
| 369 | build-timeout: '{build-timeout}' |
| 370 | |
| 371 | triggers: |
| 372 | # 11 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 373 | - timed: '@daily' |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 374 | - gerrit-trigger-release-manually: |
| 375 | server: '{server-name}' |
| 376 | project: '{project}' |
| 377 | branch: '{branch}' |
| 378 | |
| 379 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 380 | - lf-infra-pre-build |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 381 | - provide-maven-settings: |
| 382 | global-settings-file: 'global-settings' |
| 383 | settings-file: '{mvn-settings}' |
| 384 | |
| 385 | - inject: |
| 386 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 387 | - maven-set-release-version: |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 388 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 389 | mvn-settings: '{mvn-settings}' |
| 390 | pom: |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 391 | |
| 392 | - maven-target: |
| 393 | maven-version: '{maven-version}' |
Jessica Wagantall | b0e72cd | 2018-01-29 16:07:22 -0800 | [diff] [blame] | 394 | goals: 'clean deploy -P {mvn-profile} -B |
JulienBe | 645951d | 2017-09-28 18:44:18 +0200 | [diff] [blame] | 395 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 396 | properties: |
| 397 | - '{maven-deploy-properties}' |
| 398 | settings: '{mvn-settings}' |
| 399 | settings-type: cfp |
| 400 | global-settings: 'global-settings' |
| 401 | global-settings-type: cfp |
| 402 | |
| 403 | publishers: |
| 404 | - infra-shiplogs: |
| 405 | maven-version: '{maven-version}' |
| 406 | |
| 407 | |
| 408 | - job-template: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 409 | # Job template for Java daily release jobs with POM not at the root |
| 410 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 411 | # The purpose of this job template is to run: |
| 412 | # 1. maven clean deploy with Sonar scans |
| 413 | # |
| 414 | # This job supports subprojects. |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 415 | # |
| 416 | # Required Variables: |
| 417 | # branch: git branch (eg. stable/lithium or master) |
| 418 | # pom: name/location of the pom.xml file relative to the workspace |
| 419 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 420 | name: '{project-name}-{stream}-{subproject}-release-java-daily' |
| 421 | |
| 422 | project-type: freestyle |
| 423 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 424 | disabled: '{disabled}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 425 | maven-deploy-properties: |
| 426 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 427 | - infra-properties: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 428 | build-days-to-keep: '{build-days-to-keep}' |
| 429 | |
| 430 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 431 | - infra-parameters: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 432 | project: '{project}' |
| 433 | branch: '{branch}' |
| 434 | refspec: 'refs/heads/{branch}' |
| 435 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 436 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 437 | maven-version: '{maven-version}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 438 | |
| 439 | scm: |
| 440 | - gerrit-trigger-scm: |
| 441 | refspec: '' |
| 442 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 443 | submodule-recursive: '{submodule-recursive}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 444 | |
| 445 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 446 | - infra-wrappers: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 447 | build-timeout: '{build-timeout}' |
| 448 | |
| 449 | triggers: |
| 450 | # 11 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 451 | - timed: '@daily' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 452 | - gerrit-trigger-release-manually: |
| 453 | server: '{server-name}' |
| 454 | project: '{project}' |
| 455 | branch: '{branch}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 456 | |
| 457 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 458 | - lf-infra-pre-build |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 459 | - provide-maven-settings: |
| 460 | global-settings-file: 'global-settings' |
| 461 | settings-file: '{mvn-settings}' |
| 462 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 463 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 464 | maven-version: '{maven-version}' |
Carsten Lund | 63cd3b8 | 2017-02-18 18:19:22 +0000 | [diff] [blame] | 465 | pom: '{pom}' |
Jessica Wagantall | b0e72cd | 2018-01-29 16:07:22 -0800 | [diff] [blame] | 466 | goals: 'clean deploy -B |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 467 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 468 | properties: |
| 469 | - '{maven-deploy-properties}' |
Jessica Wagantall | 30f0d78 | 2017-08-08 13:37:25 -0700 | [diff] [blame] | 470 | java-opts: |
| 471 | - '-Xmx4096m -XX:MaxPermSize=512m' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 472 | settings: '{mvn-settings}' |
| 473 | settings-type: cfp |
| 474 | global-settings: 'global-settings' |
| 475 | global-settings-type: cfp |
| 476 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 477 | publishers: |
| 478 | - infra-shiplogs: |
| 479 | maven-version: '{maven-version}' |
| 480 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 481 | - job-template: |
Jessica Wagantall | ae89794 | 2017-09-28 10:56:55 -0700 | [diff] [blame] | 482 | # Job template for Java daily release jobs with POM not at the root |
| 483 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 484 | # The purpose of this job template is to run: |
| 485 | # 1. maven set versions |
| 486 | # 2. maven clean deploy with Sonar scans |
| 487 | # |
| 488 | # This job supports subprojects. |
Jessica Wagantall | ae89794 | 2017-09-28 10:56:55 -0700 | [diff] [blame] | 489 | # |
| 490 | # Required Variables: |
| 491 | # branch: git branch (eg. stable/lithium or master) |
| 492 | # pom: name/location of the pom.xml file relative to the workspace |
| 493 | |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 494 | name: '{project-name}-{stream}-{subproject}-release-version-java-daily' |
| 495 | |
| 496 | project-type: freestyle |
| 497 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 498 | disabled: '{disabled}' |
Jessica Wagantall | ae237f7 | 2019-04-04 20:30:44 -0700 | [diff] [blame] | 499 | version-properties: 'version.properties' |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 500 | maven-deploy-properties: |
| 501 | properties: |
| 502 | - infra-properties: |
| 503 | build-days-to-keep: '{build-days-to-keep}' |
| 504 | |
| 505 | parameters: |
| 506 | - infra-parameters: |
| 507 | project: '{project}' |
| 508 | branch: '{branch}' |
| 509 | refspec: 'refs/heads/{branch}' |
| 510 | artifacts: '{archive-artifacts}' |
| 511 | - maven-exec: |
| 512 | maven-version: '{maven-version}' |
| 513 | |
| 514 | scm: |
| 515 | - gerrit-trigger-scm: |
| 516 | refspec: '' |
| 517 | choosing-strategy: 'default' |
| 518 | submodule-recursive: '{submodule-recursive}' |
| 519 | |
| 520 | wrappers: |
| 521 | - infra-wrappers: |
| 522 | build-timeout: '{build-timeout}' |
| 523 | |
| 524 | triggers: |
| 525 | # 11 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 526 | - timed: '@daily' |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 527 | - gerrit-trigger-release-manually: |
| 528 | server: '{server-name}' |
| 529 | project: '{project}' |
| 530 | branch: '{branch}' |
| 531 | |
| 532 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 533 | - lf-infra-pre-build |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 534 | - provide-maven-settings: |
| 535 | global-settings-file: 'global-settings' |
| 536 | settings-file: '{mvn-settings}' |
| 537 | |
| 538 | - inject: |
Jessica Wagantall | ae237f7 | 2019-04-04 20:30:44 -0700 | [diff] [blame] | 539 | properties-file: '{version-properties}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 540 | - maven-set-release-version: |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 541 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 542 | mvn-settings: '{mvn-settings}' |
Zhaoxing | 327f959 | 2017-10-13 13:37:17 +0800 | [diff] [blame] | 543 | pom: '{pom}' |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 544 | |
| 545 | - maven-target: |
| 546 | maven-version: '{maven-version}' |
| 547 | pom: '{pom}' |
Jessica Wagantall | b0e72cd | 2018-01-29 16:07:22 -0800 | [diff] [blame] | 548 | goals: 'clean deploy -B |
Zhaoxing | a77c041 | 2017-10-11 09:05:49 +0800 | [diff] [blame] | 549 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 550 | properties: |
| 551 | - '{maven-deploy-properties}' |
| 552 | settings: '{mvn-settings}' |
| 553 | settings-type: cfp |
| 554 | global-settings: 'global-settings' |
| 555 | global-settings-type: cfp |
| 556 | |
| 557 | publishers: |
| 558 | - infra-shiplogs: |
| 559 | maven-version: '{maven-version}' |
| 560 | |
Jessica Wagantall | 91685e1 | 2018-03-20 17:13:40 -0700 | [diff] [blame] | 561 | |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 562 | - job-template: &merge_java_defaults |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 563 | # Job template for Java merge jobs |
| 564 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 565 | # The purpose of this job template is to run: |
| 566 | # 1. maven clean deploy |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 567 | # |
| 568 | # Required Variables: |
| 569 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 570 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 571 | name: '{project-name}-{stream}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 572 | |
| 573 | project-type: freestyle |
| 574 | node: '{build-node}' |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 575 | pattern: '**' |
| 576 | pom: |
| 577 | mvn_properties: [] |
Jessica Wagantall | 17d0a6e | 2018-09-14 03:11:01 -0700 | [diff] [blame] | 578 | mvn-params: '' |
Houa Yang | b7778e6 | 2019-09-03 13:23:05 -0500 | [diff] [blame^] | 579 | mvn-opts: '' |
| 580 | java-opts: '' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 581 | |
| 582 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 583 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 584 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 585 | |
| 586 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 587 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 588 | project: '{project}' |
| 589 | branch: '{branch}' |
| 590 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 591 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 592 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 593 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 594 | |
| 595 | scm: |
| 596 | - gerrit-trigger-scm: |
| 597 | refspec: '' |
| 598 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 599 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 600 | |
| 601 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 602 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 603 | build-timeout: '{build-timeout}' |
| 604 | |
| 605 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 606 | - gerrit-trigger-patch-merged: |
| 607 | server: '{server-name}' |
| 608 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 609 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 610 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 611 | |
| 612 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 613 | - lf-infra-pre-build |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 614 | - provide-maven-settings: |
| 615 | global-settings-file: 'global-settings' |
| 616 | settings-file: '{mvn-settings}' |
| 617 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 618 | maven-version: '{maven-version}' |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 619 | pom: '{obj:pom}' |
Jessica Wagantall | 17d0a6e | 2018-09-14 03:11:01 -0700 | [diff] [blame] | 620 | goals: 'clean deploy -B {mvn-params} |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 621 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Houa Yang | b7778e6 | 2019-09-03 13:23:05 -0500 | [diff] [blame^] | 622 | properties: |
| 623 | - MAVEN_OPTS='{mvn-opts}' |
| 624 | java-opts: |
| 625 | - "{java-opts}" |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 626 | settings: '{mvn-settings}' |
| 627 | settings-type: cfp |
| 628 | global-settings: 'global-settings' |
| 629 | global-settings-type: cfp |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 630 | properties: '{obj:mvn_properties}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 631 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 632 | publishers: |
| 633 | - infra-shiplogs: |
| 634 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 635 | |
| 636 | - job-template: |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 637 | # Job template for Java merge jobs based on |
| 638 | # '{project-name}-{stream}-merge-java' |
| 639 | # The purpose of this job template is to run: |
| 640 | # 1. maven clean deploy |
| 641 | # |
| 642 | # This project supports maven properties. |
| 643 | # |
| 644 | # Required Variables: |
| 645 | # branch: git branch (eg. stable/lithium or master) |
| 646 | # maven-properties: properties passed to maven |
| 647 | |
| 648 | <<: *merge_java_defaults |
| 649 | name: '{project-name}-{stream}-merge-properties-java' |
| 650 | |
| 651 | - job-template: |
| 652 | # Job template for Java merge jobs that takes a maven template |
| 653 | # |
| 654 | # The purpose of this job template is to run: |
| 655 | # 1. maven clean deploy -P {mvn-profile} |
| 656 | # |
| 657 | # Required Variables: |
| 658 | # branch: git branch (eg. stable/lithium or master) |
| 659 | |
| 660 | <<: *merge_java_defaults |
| 661 | name: '{project-name}-{stream}-merge-profile-java' |
| 662 | |
| 663 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 664 | - lf-infra-pre-build |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 665 | - provide-maven-settings: |
| 666 | global-settings-file: 'global-settings' |
| 667 | settings-file: '{mvn-settings}' |
| 668 | |
| 669 | - docker-login |
| 670 | |
| 671 | - maven-target: |
| 672 | maven-version: '{maven-version}' |
| 673 | goals: 'clean deploy -P {mvn-profile} -B |
| 674 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 675 | settings: '{mvn-settings}' |
| 676 | settings-type: cfp |
| 677 | global-settings: 'global-settings' |
| 678 | global-settings-type: cfp |
| 679 | properties: |
| 680 | - docker.pull.registry=nexus3.onap.org:10001 |
| 681 | - docker.push.registry=nexus3.onap.org:10003 |
| 682 | |
| 683 | - job-template: |
| 684 | # Job template for Java merge jobs with POM not at the root |
| 685 | # |
| 686 | # The purpose of this job template is to run: |
| 687 | # 1. maven clean deploy |
| 688 | # |
| 689 | # This job supports subprojects. |
| 690 | # |
| 691 | # Required Variables: |
| 692 | # branch: git branch (eg. stable/lithium or master) |
| 693 | # pom: name/location of the pom.xml file relative to the workspace |
| 694 | # pattern: ant file-path pattern relative to the workspace used to |
| 695 | # trigger the job |
| 696 | |
| 697 | <<: *merge_java_defaults |
| 698 | name: '{project-name}-{stream}-{subproject}-merge-java' |
| 699 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 700 | - job-template: &docker_java_defaults |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 701 | # Job template for Docker daily jobs |
| 702 | # |
| 703 | # The purpose of this job template is to run: |
| 704 | # 1. login to the docker registry |
| 705 | # 2. docker push |
| 706 | # |
| 707 | # Required Variables: |
| 708 | # branch: git branch (eg. stable/lithium or master) |
| 709 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 710 | name: '{project-name}-{stream}-docker-java-daily' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 711 | id: '{project-name}-{stream}-docker-java-daily' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 712 | project-type: freestyle |
Jessica Wagantall | 34e6d6b | 2018-11-08 12:43:06 -0800 | [diff] [blame] | 713 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 714 | disabled: '{disabled}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 715 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 716 | - infra-properties: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 717 | build-days-to-keep: '{build-days-to-keep}' |
| 718 | |
| 719 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 720 | - infra-parameters: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 721 | project: '{project}' |
| 722 | branch: '{branch}' |
| 723 | refspec: 'refs/heads/{branch}' |
| 724 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 725 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 726 | maven-version: '{maven-version}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 727 | - maven-params: |
| 728 | mvn-params: '{mvn-params}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 729 | |
| 730 | scm: |
| 731 | - gerrit-trigger-scm: |
| 732 | refspec: '' |
| 733 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 734 | submodule-recursive: '{submodule-recursive}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 735 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 736 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 737 | - infra-wrappers: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 738 | build-timeout: '{build-timeout}' |
| 739 | |
| 740 | triggers: |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 741 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 742 | - timed: '@daily' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 743 | - gerrit-trigger-release-manually: |
| 744 | server: '{server-name}' |
| 745 | project: '{project}' |
| 746 | branch: '{branch}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 747 | |
| 748 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 749 | - lf-infra-pre-build |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 750 | - provide-maven-settings: |
| 751 | global-settings-file: 'global-settings' |
| 752 | settings-file: '{mvn-settings}' |
Anaël Closson | 7313fea | 2017-02-14 15:56:21 +0100 | [diff] [blame] | 753 | |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 754 | - docker-login |
| 755 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 756 | - maven-docker-push-daily: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 757 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 758 | mvn-settings: '{mvn-settings}' |
| 759 | pom: '{docker-pom}' |
Anaël Closson | 30a5c77 | 2017-02-16 15:02:56 +0100 | [diff] [blame] | 760 | # use default as mvn-profile if profile is not needed |
| 761 | mvn-profile: '{mvn-profile}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 762 | mvn-params: '{mvn-params}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 763 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 764 | publishers: |
| 765 | - infra-shiplogs: |
| 766 | maven-version: '{maven-version}' |
| 767 | |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 768 | - job-template: |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 769 | # Job template for Docker daily jobs |
| 770 | # |
| 771 | # The purpose of this job template is to run: |
| 772 | # 1. login to the docker registry |
| 773 | # 2. docker push |
| 774 | # |
| 775 | # Required Variables: |
| 776 | # branch: git branch (eg. stable/lithium or master) |
| 777 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 778 | <<: *docker_java_defaults |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 779 | name: '{project-name}-{stream}-docker-java-daily' |
| 780 | id: docker-java-daily |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 781 | node: '{build-node}' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 782 | wrappers: |
| 783 | - infra-wrappers-docker-build: |
| 784 | build-timeout: '{build-timeout}' |
| 785 | |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 786 | - job-template: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 787 | # Job template for building & pushing docker images |
| 788 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 789 | # The purpose of this job template is to run: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 790 | # 1. login to the docker registry |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 791 | # 2. maven clean deploy on the specified profile |
| 792 | # |
| 793 | # This job uses a conditional regex match step to set versions. |
| 794 | # This template supports maven properties. |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 795 | # |
| 796 | # Required Variables: |
| 797 | # pom: name/location of the pom.xml file relative to the workspace |
| 798 | # profile: the docker profile defined in the pom |
| 799 | # maven-properties: properties passed to maven |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 800 | |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 801 | name: '{project-name}-{stream}-docker-java-properties-daily' |
| 802 | project-type: freestyle |
Jessica Wagantall | bedaaee | 2018-11-08 12:51:52 -0800 | [diff] [blame] | 803 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 804 | disabled: '{disabled}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 805 | properties: |
| 806 | - infra-properties: |
| 807 | build-days-to-keep: '{build-days-to-keep}' |
| 808 | parameters: |
| 809 | - infra-parameters: |
| 810 | project: '{project}' |
| 811 | branch: '{branch}' |
| 812 | refspec: 'refs/heads/{branch}' |
| 813 | artifacts: '{archive-artifacts}' |
| 814 | - maven-exec: |
| 815 | maven-version: '{maven-version}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 816 | - maven-params: |
| 817 | mvn-params: '{mvn-params}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 818 | scm: |
| 819 | - gerrit-trigger-scm: |
| 820 | refspec: '' |
| 821 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 822 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 823 | wrappers: |
| 824 | - infra-wrappers: |
| 825 | build-timeout: '{build-timeout}' |
| 826 | triggers: |
| 827 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 828 | - timed: '@daily' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 829 | - gerrit-trigger-release-manually: |
| 830 | server: '{server-name}' |
| 831 | project: '{project}' |
| 832 | branch: '{branch}' |
| 833 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 834 | - lf-infra-pre-build |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 835 | - provide-maven-settings: |
| 836 | global-settings-file: 'global-settings' |
| 837 | settings-file: '{mvn-settings}' |
JulienBe | cda1797 | 2017-10-17 13:46:51 +0200 | [diff] [blame] | 838 | - conditional-step: |
| 839 | condition-kind: regex-match |
| 840 | regex: DoSetVersion |
| 841 | label: '{setVersion}' |
| 842 | steps: |
| 843 | - inject: |
| 844 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 845 | - maven-set-release-version: |
JulienBe | cda1797 | 2017-10-17 13:46:51 +0200 | [diff] [blame] | 846 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 847 | mvn-settings: '{mvn-settings}' |
| 848 | pom: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 849 | - docker-login |
| 850 | - maven-docker-push-daily: |
| 851 | maven-version: '{maven-version}' |
| 852 | mvn-settings: '{mvn-settings}' |
| 853 | pom: '{docker-pom}' |
| 854 | properties: '{maven-properties}' |
| 855 | # use default as mvn-profile if profile is not needed |
| 856 | mvn-profile: '{mvn-profile}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 857 | mvn-params: '{mvn-params}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 858 | publishers: |
| 859 | - infra-shiplogs: |
| 860 | maven-version: '{maven-version}' |
| 861 | |
| 862 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 863 | # Job template for building & pushing docker images |
| 864 | # |
| 865 | # The purpose of this job template is to run: |
| 866 | # 1. login to the docker registry |
| 867 | # 2. run a specified shell builder |
| 868 | # |
| 869 | # Required Variables: |
| 870 | # pom: name/location of the pom.xml file relative to the workspace |
| 871 | # maven-properties: properties passed to maven |
| 872 | |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 873 | name: '{project-name}-{stream}-docker-java-shell-daily' |
| 874 | project-type: freestyle |
Jessica Wagantall | fe5efea | 2018-08-07 16:02:39 -0700 | [diff] [blame] | 875 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 876 | disabled: '{disabled}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 877 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 878 | - infra-properties: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 879 | build-days-to-keep: '{build-days-to-keep}' |
| 880 | |
| 881 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 882 | - infra-parameters: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 883 | project: '{project}' |
| 884 | branch: '{branch}' |
| 885 | refspec: 'refs/heads/{branch}' |
| 886 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 887 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 888 | maven-version: '{maven-version}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 889 | |
| 890 | scm: |
| 891 | - gerrit-trigger-scm: |
| 892 | refspec: '' |
| 893 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 894 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 895 | |
| 896 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 897 | - infra-wrappers: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 898 | build-timeout: '{build-timeout}' |
| 899 | |
| 900 | triggers: |
| 901 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 902 | - timed: '@daily' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 903 | - gerrit-trigger-release-manually: |
| 904 | server: '{server-name}' |
| 905 | project: '{project}' |
| 906 | branch: '{branch}' |
| 907 | |
| 908 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 909 | - lf-infra-pre-build |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 910 | - provide-maven-settings: |
| 911 | global-settings-file: 'global-settings' |
| 912 | settings-file: '{mvn-settings}' |
| 913 | |
| 914 | - docker-login |
| 915 | |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 916 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 917 | maven-version: '{maven-version}' |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 918 | goals: '{mvn-goals}' |
| 919 | settings: '{mvn-settings}' |
| 920 | settings-type: cfp |
| 921 | global-settings: 'global-settings' |
| 922 | global-settings-type: cfp |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 923 | |
| 924 | - shell: '{script}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 925 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 926 | publishers: |
| 927 | - infra-shiplogs: |
| 928 | maven-version: '{maven-version}' |
| 929 | |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 930 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 931 | # Job template for building & pushing docker images |
| 932 | # |
| 933 | # The purpose of this job template is to run: |
| 934 | # 1. login to the docker registry |
Jessica Wagantall | 35b36e4 | 2018-08-07 16:10:25 -0700 | [diff] [blame] | 935 | # 2. run a specified shell builder |
| 936 | # |
| 937 | # Required Variables: |
| 938 | # pom: name/location of the pom.xml file relative to the workspace |
| 939 | # maven-properties: properties passed to maven |
| 940 | |
| 941 | name: '{project-name}-{stream}-{subproject}-docker-java-shell-daily' |
| 942 | project-type: freestyle |
| 943 | node: '{build-node}' |
| 944 | disabled: '{disabled}' |
| 945 | properties: |
| 946 | - infra-properties: |
| 947 | build-days-to-keep: '{build-days-to-keep}' |
| 948 | |
| 949 | parameters: |
| 950 | - infra-parameters: |
| 951 | project: '{project}' |
| 952 | branch: '{branch}' |
| 953 | refspec: 'refs/heads/{branch}' |
| 954 | artifacts: '{archive-artifacts}' |
| 955 | - maven-exec: |
| 956 | maven-version: '{maven-version}' |
| 957 | |
| 958 | scm: |
| 959 | - gerrit-trigger-scm: |
| 960 | refspec: '' |
| 961 | choosing-strategy: 'default' |
| 962 | submodule-recursive: '{submodule-recursive}' |
| 963 | |
| 964 | wrappers: |
| 965 | - infra-wrappers: |
| 966 | build-timeout: '{build-timeout}' |
| 967 | |
| 968 | triggers: |
| 969 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 970 | - timed: '@daily' |
Jessica Wagantall | 35b36e4 | 2018-08-07 16:10:25 -0700 | [diff] [blame] | 971 | - gerrit-trigger-release-manually: |
| 972 | server: '{server-name}' |
| 973 | project: '{project}' |
| 974 | branch: '{branch}' |
| 975 | |
| 976 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 977 | - lf-infra-pre-build |
Jessica Wagantall | 35b36e4 | 2018-08-07 16:10:25 -0700 | [diff] [blame] | 978 | - provide-maven-settings: |
| 979 | global-settings-file: 'global-settings' |
| 980 | settings-file: '{mvn-settings}' |
| 981 | |
| 982 | - docker-login |
| 983 | |
| 984 | - maven-target: |
| 985 | maven-version: '{maven-version}' |
| 986 | pom: '{pom}' |
| 987 | goals: '{mvn-goals}' |
| 988 | settings: '{mvn-settings}' |
| 989 | settings-type: cfp |
| 990 | global-settings: 'global-settings' |
| 991 | global-settings-type: cfp |
| 992 | |
| 993 | - shell: '{script}' |
| 994 | |
| 995 | publishers: |
| 996 | - infra-shiplogs: |
| 997 | maven-version: '{maven-version}' |
| 998 | |
| 999 | - job-template: |
| 1000 | # Job template for building & pushing docker images |
| 1001 | # |
| 1002 | # The purpose of this job template is to run: |
| 1003 | # 1. login to the docker registry |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1004 | # 2. inject a version.properties file and set versions |
| 1005 | # 3. run a specified shell builder |
| 1006 | # |
| 1007 | # Required Variables: |
| 1008 | # pom: name/location of the pom.xml file relative to the workspace |
| 1009 | # maven-properties: properties passed to maven |
| 1010 | |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1011 | name: '{project-name}-{stream}-docker-java-version-shell-daily' |
| 1012 | project-type: freestyle |
Jessica Wagantall | d50aa19 | 2018-11-08 13:03:33 -0800 | [diff] [blame] | 1013 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1014 | disabled: '{disabled}' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1015 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1016 | - infra-properties: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1017 | build-days-to-keep: '{build-days-to-keep}' |
| 1018 | |
| 1019 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1020 | - infra-parameters: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1021 | project: '{project}' |
| 1022 | branch: '{branch}' |
| 1023 | refspec: 'refs/heads/{branch}' |
| 1024 | artifacts: '{archive-artifacts}' |
| 1025 | - maven-exec: |
| 1026 | maven-version: '{maven-version}' |
| 1027 | |
| 1028 | scm: |
| 1029 | - gerrit-trigger-scm: |
| 1030 | refspec: '' |
| 1031 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1032 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1033 | |
| 1034 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1035 | - infra-wrappers: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1036 | build-timeout: '{build-timeout}' |
| 1037 | |
| 1038 | triggers: |
| 1039 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1040 | - timed: '@daily' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1041 | - gerrit-trigger-release-manually: |
| 1042 | server: '{server-name}' |
| 1043 | project: '{project}' |
| 1044 | branch: '{branch}' |
| 1045 | |
| 1046 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1047 | - lf-infra-pre-build |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1048 | - provide-maven-settings: |
| 1049 | global-settings-file: 'global-settings' |
| 1050 | settings-file: '{mvn-settings}' |
| 1051 | |
| 1052 | - inject: |
| 1053 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1054 | - maven-set-release-version: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1055 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1056 | mvn-settings: '{mvn-settings}' |
| 1057 | pom: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1058 | |
| 1059 | - docker-login |
| 1060 | |
| 1061 | - maven-target: |
| 1062 | maven-version: '{maven-version}' |
| 1063 | goals: '{mvn-goals}' |
| 1064 | settings: '{mvn-settings}' |
| 1065 | settings-type: cfp |
| 1066 | global-settings: 'global-settings' |
| 1067 | global-settings-type: cfp |
| 1068 | |
| 1069 | - shell: '{script}' |
| 1070 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1071 | publishers: |
| 1072 | - infra-shiplogs: |
| 1073 | maven-version: '{maven-version}' |
| 1074 | |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1075 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1076 | # Job template for building & pushing docker images |
| 1077 | # |
| 1078 | # The purpose of this job template is to run: |
| 1079 | # 1. login to the docker registry |
| 1080 | # 2. inject a version.properties file and set versions |
| 1081 | # 3. run a specified shell builder |
| 1082 | # |
| 1083 | # This template supports subprojects. |
| 1084 | # |
| 1085 | # Required Variables: |
| 1086 | # pom: name/location of the pom.xml file relative to the workspace |
| 1087 | # maven-properties: properties passed to maven |
| 1088 | |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1089 | name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily' |
| 1090 | project-type: freestyle |
| 1091 | node: 'ubuntu1604-docker-8c-8g' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1092 | disabled: '{disabled}' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1093 | properties: |
| 1094 | - infra-properties: |
| 1095 | build-days-to-keep: '{build-days-to-keep}' |
| 1096 | |
| 1097 | parameters: |
| 1098 | - infra-parameters: |
| 1099 | project: '{project}' |
| 1100 | branch: '{branch}' |
| 1101 | refspec: 'refs/heads/{branch}' |
| 1102 | artifacts: '{archive-artifacts}' |
| 1103 | - maven-exec: |
| 1104 | maven-version: '{maven-version}' |
| 1105 | |
| 1106 | scm: |
| 1107 | - gerrit-trigger-scm: |
| 1108 | refspec: '' |
| 1109 | choosing-strategy: 'default' |
| 1110 | submodule-recursive: '{submodule-recursive}' |
| 1111 | |
| 1112 | wrappers: |
| 1113 | - infra-wrappers: |
| 1114 | build-timeout: '{build-timeout}' |
| 1115 | |
| 1116 | triggers: |
| 1117 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1118 | - timed: '@daily' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1119 | - gerrit-trigger-release-manually: |
| 1120 | server: '{server-name}' |
| 1121 | project: '{project}' |
| 1122 | branch: '{branch}' |
| 1123 | |
| 1124 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1125 | - lf-infra-pre-build |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1126 | - provide-maven-settings: |
| 1127 | global-settings-file: 'global-settings' |
| 1128 | settings-file: '{mvn-settings}' |
| 1129 | |
| 1130 | - inject: |
| 1131 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1132 | - maven-set-release-version: |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1133 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1134 | mvn-settings: '{mvn-settings}' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1135 | pom: '{pom}' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1136 | |
| 1137 | - docker-login |
| 1138 | |
| 1139 | - maven-target: |
| 1140 | maven-version: '{maven-version}' |
| 1141 | pom: '{pom}' |
| 1142 | goals: '{mvn-goals}' |
| 1143 | settings: '{mvn-settings}' |
| 1144 | settings-type: cfp |
| 1145 | global-settings: 'global-settings' |
| 1146 | global-settings-type: cfp |
| 1147 | |
| 1148 | - shell: '{script}' |
| 1149 | |
| 1150 | publishers: |
| 1151 | - infra-shiplogs: |
| 1152 | maven-version: '{maven-version}' |
| 1153 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1154 | - job-template: &docker_version_java_defaults |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1155 | # Job template for building & pushing docker images |
| 1156 | # |
| 1157 | # The purpose of this job template is to run: |
| 1158 | # 1. login to the docker registry |
| 1159 | # 2. inject a version.properties file and set versions |
| 1160 | # 3. run a docker push |
| 1161 | # |
| 1162 | # Required Variables: |
| 1163 | # pom: name/location of the pom.xml file relative to the workspace |
| 1164 | # profile: the docker profile defined in the pom |
| 1165 | # maven-properties: properties passed to maven |
| 1166 | |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1167 | name: '{project-name}-{stream}-docker-version-java-daily' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1168 | id: '{project-name}-{stream}-docker-version-java-daily' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1169 | project-type: freestyle |
Paul Vaduva | 6dd8854 | 2018-12-11 16:59:12 +0100 | [diff] [blame] | 1170 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1171 | disabled: '{disabled}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1172 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1173 | - infra-properties: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1174 | build-days-to-keep: '{build-days-to-keep}' |
| 1175 | |
| 1176 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1177 | - infra-parameters: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1178 | project: '{project}' |
| 1179 | branch: '{branch}' |
| 1180 | refspec: 'refs/heads/{branch}' |
| 1181 | artifacts: '{archive-artifacts}' |
| 1182 | - maven-exec: |
| 1183 | maven-version: '{maven-version}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 1184 | - maven-params: |
| 1185 | mvn-params: '{mvn-params}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1186 | |
| 1187 | scm: |
| 1188 | - gerrit-trigger-scm: |
| 1189 | refspec: '' |
| 1190 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1191 | submodule-recursive: '{submodule-recursive}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1192 | |
| 1193 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1194 | - infra-wrappers: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1195 | build-timeout: '{build-timeout}' |
| 1196 | |
| 1197 | triggers: |
| 1198 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1199 | - timed: '@daily' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1200 | - gerrit-trigger-release-manually: |
| 1201 | server: '{server-name}' |
| 1202 | project: '{project}' |
| 1203 | branch: '{branch}' |
| 1204 | |
| 1205 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1206 | - lf-infra-pre-build |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1207 | - provide-maven-settings: |
| 1208 | global-settings-file: 'global-settings' |
| 1209 | settings-file: '{mvn-settings}' |
| 1210 | |
| 1211 | - inject: |
| 1212 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1213 | - maven-set-release-version: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1214 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1215 | mvn-settings: '{mvn-settings}' |
| 1216 | pom: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1217 | |
| 1218 | - docker-login |
| 1219 | |
| 1220 | - maven-docker-push-daily: |
| 1221 | maven-version: '{maven-version}' |
| 1222 | mvn-settings: '{mvn-settings}' |
| 1223 | pom: '{docker-pom}' |
| 1224 | # use default as mvn-profile if profile is not needed |
| 1225 | mvn-profile: '{mvn-profile}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 1226 | mvn-params: '{mvn-params}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1227 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1228 | publishers: |
| 1229 | - infra-shiplogs: |
| 1230 | maven-version: '{maven-version}' |
| 1231 | |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1232 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1233 | # Job template for building & pushing docker images |
| 1234 | # |
| 1235 | # The purpose of this job template is to run: |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1236 | # 1. login to the docker registry |
| 1237 | # 2. inject a version.properties file and set versions |
| 1238 | # 3. run a docker push |
| 1239 | # |
| 1240 | # Required Variables: |
| 1241 | # pom: name/location of the pom.xml file relative to the workspace |
| 1242 | # profile: the docker profile defined in the pom |
| 1243 | # maven-properties: properties passed to maven |
| 1244 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1245 | <<: *docker_version_java_defaults |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1246 | name: '{project-name}-{stream}-docker-version-java-daily' |
| 1247 | id: 'docker-version-java-daily' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1248 | node: '{build-node}' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1249 | wrappers: |
| 1250 | - infra-wrappers-docker-build: |
| 1251 | build-timeout: '{build-timeout}' |
| 1252 | |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1253 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1254 | # Job template for building & pushing docker images for AAI specific repos |
| 1255 | # |
| 1256 | # The purpose of this job template is to run: |
| 1257 | # 1. login to the docker registry |
| 1258 | # 2. run maven goals |
| 1259 | # 3. run include-docker-push.sh |
| 1260 | # |
| 1261 | # Required Variables: |
| 1262 | # pom: name/location of the pom.xml file relative to the workspace |
| 1263 | # maven-properties: properties passed to maven |
| 1264 | |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1265 | name: '{project-name}-{stream}-aai-docker-java-daily' |
| 1266 | project-type: freestyle |
Jessica Wagantall | ab30bf6 | 2018-11-08 12:20:48 -0800 | [diff] [blame] | 1267 | node: '{build-node}' |
Gary Wu | dc3f295 | 2017-08-23 16:48:59 -0700 | [diff] [blame] | 1268 | docker-image-name: '' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1269 | disabled: '{disabled}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1270 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1271 | - infra-properties: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1272 | build-days-to-keep: '{build-days-to-keep}' |
| 1273 | |
| 1274 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1275 | - infra-parameters: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1276 | project: '{project}' |
| 1277 | branch: '{branch}' |
| 1278 | refspec: 'refs/heads/{branch}' |
| 1279 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1280 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1281 | maven-version: '{maven-version}' |
Gary Wu | dc3f295 | 2017-08-23 16:48:59 -0700 | [diff] [blame] | 1282 | - docker-image-name: |
| 1283 | docker-image-name: '{docker-image-name}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1284 | |
| 1285 | scm: |
| 1286 | - gerrit-trigger-scm: |
| 1287 | refspec: '' |
| 1288 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1289 | submodule-recursive: '{submodule-recursive}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1290 | |
| 1291 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1292 | - infra-wrappers: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1293 | build-timeout: '{build-timeout}' |
| 1294 | |
| 1295 | triggers: |
| 1296 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1297 | - timed: '@daily' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1298 | - gerrit-trigger-release-manually: |
| 1299 | server: '{server-name}' |
| 1300 | project: '{project}' |
| 1301 | branch: '{branch}' |
| 1302 | |
| 1303 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1304 | - lf-infra-pre-build |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1305 | - provide-maven-settings: |
| 1306 | global-settings-file: 'global-settings' |
| 1307 | settings-file: '{mvn-settings}' |
| 1308 | |
| 1309 | - docker-login |
| 1310 | |
| 1311 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1312 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1313 | pom: 'pom.xml' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1314 | goals: 'clean install -DskipTests -B |
| 1315 | -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] | 1316 | settings: '{mvn-settings}' |
| 1317 | settings-type: cfp |
| 1318 | global-settings: 'global-settings' |
| 1319 | global-settings-type: cfp |
| 1320 | |
| 1321 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1322 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1323 | pom: '{pom}' |
| 1324 | goals: '{mvn-goals}' |
| 1325 | settings: '{mvn-settings}' |
| 1326 | settings-type: cfp |
| 1327 | global-settings: 'global-settings' |
| 1328 | global-settings-type: cfp |
| 1329 | properties: |
| 1330 | - maven.test.skip=true |
Jeremy Phelps | 48028ab | 2017-03-28 15:38:24 -0500 | [diff] [blame] | 1331 | - docker.pull.registry=nexus3.onap.org:10001 |
| 1332 | - docker.push.registry=nexus3.onap.org:10003 |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1333 | |
Venkata Harish K Kajur | bf07d0a | 2017-03-26 11:58:15 +0000 | [diff] [blame] | 1334 | - shell: !include-raw-escape: include-docker-push.sh |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1335 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1336 | publishers: |
| 1337 | - infra-shiplogs: |
| 1338 | maven-version: '{maven-version}' |
| 1339 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1340 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1341 | # Job template for Java merge jobs for SDC specific repos |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1342 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1343 | # The purpose of this job template is to run: |
| 1344 | # 1. maven clean deploy |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1345 | # |
| 1346 | # Required Variables: |
| 1347 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1348 | |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 1349 | <<: *merge_java_defaults |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1350 | name: '{project-name}-{stream}-sdc-merge-java' |
| 1351 | |
Paul Vaduva | 3aebd31 | 2019-02-01 13:35:21 +0100 | [diff] [blame] | 1352 | node: '{build-node}' |
Jessica Wagantall | 9a89de4 | 2018-04-18 11:35:17 -0700 | [diff] [blame] | 1353 | build-timeout: 120 |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1354 | |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1355 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1356 | - lf-infra-pre-build |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1357 | - provide-maven-settings: |
| 1358 | global-settings-file: 'global-settings' |
| 1359 | settings-file: '{mvn-settings}' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1360 | |
| 1361 | - docker-login |
| 1362 | |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 1363 | - maven-docker-push-daily: |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1364 | maven-version: '{maven-version}' |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1365 | mvn-settings: '{mvn-settings}' |
| 1366 | pom: '{docker-pom}' |
| 1367 | # use default as mvn-profile if profile is not needed |
| 1368 | mvn-profile: '{mvn-profile}' |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 1369 | mvn-params: '' |