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: '' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 579 | |
| 580 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 581 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 582 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 583 | |
| 584 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 585 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 586 | project: '{project}' |
| 587 | branch: '{branch}' |
| 588 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 589 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 590 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 591 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 592 | |
| 593 | scm: |
| 594 | - gerrit-trigger-scm: |
| 595 | refspec: '' |
| 596 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 597 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 598 | |
| 599 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 600 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 601 | build-timeout: '{build-timeout}' |
| 602 | |
| 603 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 604 | - gerrit-trigger-patch-merged: |
| 605 | server: '{server-name}' |
| 606 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 607 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 608 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 609 | |
| 610 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 611 | - lf-infra-pre-build |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 612 | - provide-maven-settings: |
| 613 | global-settings-file: 'global-settings' |
| 614 | settings-file: '{mvn-settings}' |
| 615 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 616 | maven-version: '{maven-version}' |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 617 | pom: '{obj:pom}' |
Jessica Wagantall | 17d0a6e | 2018-09-14 03:11:01 -0700 | [diff] [blame] | 618 | goals: 'clean deploy -B {mvn-params} |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 619 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 620 | settings: '{mvn-settings}' |
| 621 | settings-type: cfp |
| 622 | global-settings: 'global-settings' |
| 623 | global-settings-type: cfp |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 624 | properties: '{obj:mvn_properties}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 625 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 626 | publishers: |
| 627 | - infra-shiplogs: |
| 628 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 629 | |
| 630 | - job-template: |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 631 | # Job template for Java merge jobs based on |
| 632 | # '{project-name}-{stream}-merge-java' |
| 633 | # The purpose of this job template is to run: |
| 634 | # 1. maven clean deploy |
| 635 | # |
| 636 | # This project supports maven properties. |
| 637 | # |
| 638 | # Required Variables: |
| 639 | # branch: git branch (eg. stable/lithium or master) |
| 640 | # maven-properties: properties passed to maven |
| 641 | |
| 642 | <<: *merge_java_defaults |
| 643 | name: '{project-name}-{stream}-merge-properties-java' |
| 644 | |
| 645 | - job-template: |
| 646 | # Job template for Java merge jobs that takes a maven template |
| 647 | # |
| 648 | # The purpose of this job template is to run: |
| 649 | # 1. maven clean deploy -P {mvn-profile} |
| 650 | # |
| 651 | # Required Variables: |
| 652 | # branch: git branch (eg. stable/lithium or master) |
| 653 | |
| 654 | <<: *merge_java_defaults |
| 655 | name: '{project-name}-{stream}-merge-profile-java' |
| 656 | |
| 657 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 658 | - lf-infra-pre-build |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 659 | - provide-maven-settings: |
| 660 | global-settings-file: 'global-settings' |
| 661 | settings-file: '{mvn-settings}' |
| 662 | |
| 663 | - docker-login |
| 664 | |
| 665 | - maven-target: |
| 666 | maven-version: '{maven-version}' |
| 667 | goals: 'clean deploy -P {mvn-profile} -B |
| 668 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 669 | settings: '{mvn-settings}' |
| 670 | settings-type: cfp |
| 671 | global-settings: 'global-settings' |
| 672 | global-settings-type: cfp |
| 673 | properties: |
| 674 | - docker.pull.registry=nexus3.onap.org:10001 |
| 675 | - docker.push.registry=nexus3.onap.org:10003 |
| 676 | |
| 677 | - job-template: |
| 678 | # Job template for Java merge jobs with POM not at the root |
| 679 | # |
| 680 | # The purpose of this job template is to run: |
| 681 | # 1. maven clean deploy |
| 682 | # |
| 683 | # This job supports subprojects. |
| 684 | # |
| 685 | # Required Variables: |
| 686 | # branch: git branch (eg. stable/lithium or master) |
| 687 | # pom: name/location of the pom.xml file relative to the workspace |
| 688 | # pattern: ant file-path pattern relative to the workspace used to |
| 689 | # trigger the job |
| 690 | |
| 691 | <<: *merge_java_defaults |
| 692 | name: '{project-name}-{stream}-{subproject}-merge-java' |
| 693 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 694 | - job-template: &docker_java_defaults |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 695 | # Job template for Docker daily jobs |
| 696 | # |
| 697 | # The purpose of this job template is to run: |
| 698 | # 1. login to the docker registry |
| 699 | # 2. docker push |
| 700 | # |
| 701 | # Required Variables: |
| 702 | # branch: git branch (eg. stable/lithium or master) |
| 703 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 704 | name: '{project-name}-{stream}-docker-java-daily' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 705 | id: '{project-name}-{stream}-docker-java-daily' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 706 | project-type: freestyle |
Jessica Wagantall | 34e6d6b | 2018-11-08 12:43:06 -0800 | [diff] [blame] | 707 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 708 | disabled: '{disabled}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 709 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 710 | - infra-properties: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 711 | build-days-to-keep: '{build-days-to-keep}' |
| 712 | |
| 713 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 714 | - infra-parameters: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 715 | project: '{project}' |
| 716 | branch: '{branch}' |
| 717 | refspec: 'refs/heads/{branch}' |
| 718 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 719 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 720 | maven-version: '{maven-version}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 721 | - maven-params: |
| 722 | mvn-params: '{mvn-params}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 723 | |
| 724 | scm: |
| 725 | - gerrit-trigger-scm: |
| 726 | refspec: '' |
| 727 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 728 | submodule-recursive: '{submodule-recursive}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 729 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 730 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 731 | - infra-wrappers: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 732 | build-timeout: '{build-timeout}' |
| 733 | |
| 734 | triggers: |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 735 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 736 | - timed: '@daily' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 737 | - gerrit-trigger-release-manually: |
| 738 | server: '{server-name}' |
| 739 | project: '{project}' |
| 740 | branch: '{branch}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 741 | |
| 742 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 743 | - lf-infra-pre-build |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 744 | - provide-maven-settings: |
| 745 | global-settings-file: 'global-settings' |
| 746 | settings-file: '{mvn-settings}' |
Anaël Closson | 7313fea | 2017-02-14 15:56:21 +0100 | [diff] [blame] | 747 | |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 748 | - docker-login |
| 749 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 750 | - maven-docker-push-daily: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 751 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 752 | mvn-settings: '{mvn-settings}' |
| 753 | pom: '{docker-pom}' |
Anaël Closson | 30a5c77 | 2017-02-16 15:02:56 +0100 | [diff] [blame] | 754 | # use default as mvn-profile if profile is not needed |
| 755 | mvn-profile: '{mvn-profile}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 756 | mvn-params: '{mvn-params}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 757 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 758 | publishers: |
| 759 | - infra-shiplogs: |
| 760 | maven-version: '{maven-version}' |
| 761 | |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 762 | - job-template: |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 763 | # Job template for Docker daily jobs |
| 764 | # |
| 765 | # The purpose of this job template is to run: |
| 766 | # 1. login to the docker registry |
| 767 | # 2. docker push |
| 768 | # |
| 769 | # Required Variables: |
| 770 | # branch: git branch (eg. stable/lithium or master) |
| 771 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 772 | <<: *docker_java_defaults |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 773 | name: '{project-name}-{stream}-docker-java-daily' |
| 774 | id: docker-java-daily |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 775 | node: '{build-node}' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 776 | wrappers: |
| 777 | - infra-wrappers-docker-build: |
| 778 | build-timeout: '{build-timeout}' |
| 779 | |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 780 | - job-template: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 781 | # Job template for building & pushing docker images |
| 782 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 783 | # The purpose of this job template is to run: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 784 | # 1. login to the docker registry |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 785 | # 2. maven clean deploy on the specified profile |
| 786 | # |
| 787 | # This job uses a conditional regex match step to set versions. |
| 788 | # This template supports maven properties. |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 789 | # |
| 790 | # Required Variables: |
| 791 | # pom: name/location of the pom.xml file relative to the workspace |
| 792 | # profile: the docker profile defined in the pom |
| 793 | # maven-properties: properties passed to maven |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 794 | |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 795 | name: '{project-name}-{stream}-docker-java-properties-daily' |
| 796 | project-type: freestyle |
Jessica Wagantall | bedaaee | 2018-11-08 12:51:52 -0800 | [diff] [blame] | 797 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 798 | disabled: '{disabled}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 799 | properties: |
| 800 | - infra-properties: |
| 801 | build-days-to-keep: '{build-days-to-keep}' |
| 802 | parameters: |
| 803 | - infra-parameters: |
| 804 | project: '{project}' |
| 805 | branch: '{branch}' |
| 806 | refspec: 'refs/heads/{branch}' |
| 807 | artifacts: '{archive-artifacts}' |
| 808 | - maven-exec: |
| 809 | maven-version: '{maven-version}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 810 | - maven-params: |
| 811 | mvn-params: '{mvn-params}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 812 | scm: |
| 813 | - gerrit-trigger-scm: |
| 814 | refspec: '' |
| 815 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 816 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 817 | wrappers: |
| 818 | - infra-wrappers: |
| 819 | build-timeout: '{build-timeout}' |
| 820 | triggers: |
| 821 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 822 | - timed: '@daily' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 823 | - gerrit-trigger-release-manually: |
| 824 | server: '{server-name}' |
| 825 | project: '{project}' |
| 826 | branch: '{branch}' |
| 827 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 828 | - lf-infra-pre-build |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 829 | - provide-maven-settings: |
| 830 | global-settings-file: 'global-settings' |
| 831 | settings-file: '{mvn-settings}' |
JulienBe | cda1797 | 2017-10-17 13:46:51 +0200 | [diff] [blame] | 832 | - conditional-step: |
| 833 | condition-kind: regex-match |
| 834 | regex: DoSetVersion |
| 835 | label: '{setVersion}' |
| 836 | steps: |
| 837 | - inject: |
| 838 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 839 | - maven-set-release-version: |
JulienBe | cda1797 | 2017-10-17 13:46:51 +0200 | [diff] [blame] | 840 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 841 | mvn-settings: '{mvn-settings}' |
| 842 | pom: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 843 | - docker-login |
| 844 | - maven-docker-push-daily: |
| 845 | maven-version: '{maven-version}' |
| 846 | mvn-settings: '{mvn-settings}' |
| 847 | pom: '{docker-pom}' |
| 848 | properties: '{maven-properties}' |
| 849 | # use default as mvn-profile if profile is not needed |
| 850 | mvn-profile: '{mvn-profile}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 851 | mvn-params: '{mvn-params}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 852 | publishers: |
| 853 | - infra-shiplogs: |
| 854 | maven-version: '{maven-version}' |
| 855 | |
| 856 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 857 | # Job template for building & pushing docker images |
| 858 | # |
| 859 | # The purpose of this job template is to run: |
| 860 | # 1. login to the docker registry |
| 861 | # 2. run a specified shell builder |
| 862 | # |
| 863 | # Required Variables: |
| 864 | # pom: name/location of the pom.xml file relative to the workspace |
| 865 | # maven-properties: properties passed to maven |
| 866 | |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 867 | name: '{project-name}-{stream}-docker-java-shell-daily' |
| 868 | project-type: freestyle |
Jessica Wagantall | fe5efea | 2018-08-07 16:02:39 -0700 | [diff] [blame] | 869 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 870 | disabled: '{disabled}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 871 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 872 | - infra-properties: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 873 | build-days-to-keep: '{build-days-to-keep}' |
| 874 | |
| 875 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 876 | - infra-parameters: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 877 | project: '{project}' |
| 878 | branch: '{branch}' |
| 879 | refspec: 'refs/heads/{branch}' |
| 880 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 881 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 882 | maven-version: '{maven-version}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 883 | |
| 884 | scm: |
| 885 | - gerrit-trigger-scm: |
| 886 | refspec: '' |
| 887 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 888 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 889 | |
| 890 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 891 | - infra-wrappers: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 892 | build-timeout: '{build-timeout}' |
| 893 | |
| 894 | triggers: |
| 895 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 896 | - timed: '@daily' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 897 | - gerrit-trigger-release-manually: |
| 898 | server: '{server-name}' |
| 899 | project: '{project}' |
| 900 | branch: '{branch}' |
| 901 | |
| 902 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 903 | - lf-infra-pre-build |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 904 | - provide-maven-settings: |
| 905 | global-settings-file: 'global-settings' |
| 906 | settings-file: '{mvn-settings}' |
| 907 | |
| 908 | - docker-login |
| 909 | |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 910 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 911 | maven-version: '{maven-version}' |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 912 | goals: '{mvn-goals}' |
| 913 | settings: '{mvn-settings}' |
| 914 | settings-type: cfp |
| 915 | global-settings: 'global-settings' |
| 916 | global-settings-type: cfp |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 917 | |
| 918 | - shell: '{script}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 919 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 920 | publishers: |
| 921 | - infra-shiplogs: |
| 922 | maven-version: '{maven-version}' |
| 923 | |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 924 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 925 | # Job template for building & pushing docker images |
| 926 | # |
| 927 | # The purpose of this job template is to run: |
| 928 | # 1. login to the docker registry |
Jessica Wagantall | 35b36e4 | 2018-08-07 16:10:25 -0700 | [diff] [blame] | 929 | # 2. run a specified shell builder |
| 930 | # |
| 931 | # Required Variables: |
| 932 | # pom: name/location of the pom.xml file relative to the workspace |
| 933 | # maven-properties: properties passed to maven |
| 934 | |
| 935 | name: '{project-name}-{stream}-{subproject}-docker-java-shell-daily' |
| 936 | project-type: freestyle |
| 937 | node: '{build-node}' |
| 938 | disabled: '{disabled}' |
| 939 | properties: |
| 940 | - infra-properties: |
| 941 | build-days-to-keep: '{build-days-to-keep}' |
| 942 | |
| 943 | parameters: |
| 944 | - infra-parameters: |
| 945 | project: '{project}' |
| 946 | branch: '{branch}' |
| 947 | refspec: 'refs/heads/{branch}' |
| 948 | artifacts: '{archive-artifacts}' |
| 949 | - maven-exec: |
| 950 | maven-version: '{maven-version}' |
| 951 | |
| 952 | scm: |
| 953 | - gerrit-trigger-scm: |
| 954 | refspec: '' |
| 955 | choosing-strategy: 'default' |
| 956 | submodule-recursive: '{submodule-recursive}' |
| 957 | |
| 958 | wrappers: |
| 959 | - infra-wrappers: |
| 960 | build-timeout: '{build-timeout}' |
| 961 | |
| 962 | triggers: |
| 963 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 964 | - timed: '@daily' |
Jessica Wagantall | 35b36e4 | 2018-08-07 16:10:25 -0700 | [diff] [blame] | 965 | - gerrit-trigger-release-manually: |
| 966 | server: '{server-name}' |
| 967 | project: '{project}' |
| 968 | branch: '{branch}' |
| 969 | |
| 970 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 971 | - lf-infra-pre-build |
Jessica Wagantall | 35b36e4 | 2018-08-07 16:10:25 -0700 | [diff] [blame] | 972 | - provide-maven-settings: |
| 973 | global-settings-file: 'global-settings' |
| 974 | settings-file: '{mvn-settings}' |
| 975 | |
| 976 | - docker-login |
| 977 | |
| 978 | - maven-target: |
| 979 | maven-version: '{maven-version}' |
| 980 | pom: '{pom}' |
| 981 | goals: '{mvn-goals}' |
| 982 | settings: '{mvn-settings}' |
| 983 | settings-type: cfp |
| 984 | global-settings: 'global-settings' |
| 985 | global-settings-type: cfp |
| 986 | |
| 987 | - shell: '{script}' |
| 988 | |
| 989 | publishers: |
| 990 | - infra-shiplogs: |
| 991 | maven-version: '{maven-version}' |
| 992 | |
| 993 | - job-template: |
| 994 | # Job template for building & pushing docker images |
| 995 | # |
| 996 | # The purpose of this job template is to run: |
| 997 | # 1. login to the docker registry |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 998 | # 2. inject a version.properties file and set versions |
| 999 | # 3. run a specified shell builder |
| 1000 | # |
| 1001 | # Required Variables: |
| 1002 | # pom: name/location of the pom.xml file relative to the workspace |
| 1003 | # maven-properties: properties passed to maven |
| 1004 | |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1005 | name: '{project-name}-{stream}-docker-java-version-shell-daily' |
| 1006 | project-type: freestyle |
Jessica Wagantall | d50aa19 | 2018-11-08 13:03:33 -0800 | [diff] [blame] | 1007 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1008 | disabled: '{disabled}' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1009 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1010 | - infra-properties: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1011 | build-days-to-keep: '{build-days-to-keep}' |
| 1012 | |
| 1013 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1014 | - infra-parameters: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1015 | project: '{project}' |
| 1016 | branch: '{branch}' |
| 1017 | refspec: 'refs/heads/{branch}' |
| 1018 | artifacts: '{archive-artifacts}' |
| 1019 | - maven-exec: |
| 1020 | maven-version: '{maven-version}' |
| 1021 | |
| 1022 | scm: |
| 1023 | - gerrit-trigger-scm: |
| 1024 | refspec: '' |
| 1025 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1026 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1027 | |
| 1028 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1029 | - infra-wrappers: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1030 | build-timeout: '{build-timeout}' |
| 1031 | |
| 1032 | triggers: |
| 1033 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1034 | - timed: '@daily' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1035 | - gerrit-trigger-release-manually: |
| 1036 | server: '{server-name}' |
| 1037 | project: '{project}' |
| 1038 | branch: '{branch}' |
| 1039 | |
| 1040 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1041 | - lf-infra-pre-build |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1042 | - provide-maven-settings: |
| 1043 | global-settings-file: 'global-settings' |
| 1044 | settings-file: '{mvn-settings}' |
| 1045 | |
| 1046 | - inject: |
| 1047 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1048 | - maven-set-release-version: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1049 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1050 | mvn-settings: '{mvn-settings}' |
| 1051 | pom: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1052 | |
| 1053 | - docker-login |
| 1054 | |
| 1055 | - maven-target: |
| 1056 | maven-version: '{maven-version}' |
| 1057 | goals: '{mvn-goals}' |
| 1058 | settings: '{mvn-settings}' |
| 1059 | settings-type: cfp |
| 1060 | global-settings: 'global-settings' |
| 1061 | global-settings-type: cfp |
| 1062 | |
| 1063 | - shell: '{script}' |
| 1064 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1065 | publishers: |
| 1066 | - infra-shiplogs: |
| 1067 | maven-version: '{maven-version}' |
| 1068 | |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1069 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1070 | # Job template for building & pushing docker images |
| 1071 | # |
| 1072 | # The purpose of this job template is to run: |
| 1073 | # 1. login to the docker registry |
| 1074 | # 2. inject a version.properties file and set versions |
| 1075 | # 3. run a specified shell builder |
| 1076 | # |
| 1077 | # This template supports subprojects. |
| 1078 | # |
| 1079 | # Required Variables: |
| 1080 | # pom: name/location of the pom.xml file relative to the workspace |
| 1081 | # maven-properties: properties passed to maven |
| 1082 | |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1083 | name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily' |
| 1084 | project-type: freestyle |
| 1085 | node: 'ubuntu1604-docker-8c-8g' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1086 | disabled: '{disabled}' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1087 | properties: |
| 1088 | - infra-properties: |
| 1089 | build-days-to-keep: '{build-days-to-keep}' |
| 1090 | |
| 1091 | parameters: |
| 1092 | - infra-parameters: |
| 1093 | project: '{project}' |
| 1094 | branch: '{branch}' |
| 1095 | refspec: 'refs/heads/{branch}' |
| 1096 | artifacts: '{archive-artifacts}' |
| 1097 | - maven-exec: |
| 1098 | maven-version: '{maven-version}' |
| 1099 | |
| 1100 | scm: |
| 1101 | - gerrit-trigger-scm: |
| 1102 | refspec: '' |
| 1103 | choosing-strategy: 'default' |
| 1104 | submodule-recursive: '{submodule-recursive}' |
| 1105 | |
| 1106 | wrappers: |
| 1107 | - infra-wrappers: |
| 1108 | build-timeout: '{build-timeout}' |
| 1109 | |
| 1110 | triggers: |
| 1111 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1112 | - timed: '@daily' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1113 | - gerrit-trigger-release-manually: |
| 1114 | server: '{server-name}' |
| 1115 | project: '{project}' |
| 1116 | branch: '{branch}' |
| 1117 | |
| 1118 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1119 | - lf-infra-pre-build |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1120 | - provide-maven-settings: |
| 1121 | global-settings-file: 'global-settings' |
| 1122 | settings-file: '{mvn-settings}' |
| 1123 | |
| 1124 | - inject: |
| 1125 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1126 | - maven-set-release-version: |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1127 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1128 | mvn-settings: '{mvn-settings}' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1129 | pom: '{pom}' |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1130 | |
| 1131 | - docker-login |
| 1132 | |
| 1133 | - maven-target: |
| 1134 | maven-version: '{maven-version}' |
| 1135 | pom: '{pom}' |
| 1136 | goals: '{mvn-goals}' |
| 1137 | settings: '{mvn-settings}' |
| 1138 | settings-type: cfp |
| 1139 | global-settings: 'global-settings' |
| 1140 | global-settings-type: cfp |
| 1141 | |
| 1142 | - shell: '{script}' |
| 1143 | |
| 1144 | publishers: |
| 1145 | - infra-shiplogs: |
| 1146 | maven-version: '{maven-version}' |
| 1147 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1148 | - job-template: &docker_version_java_defaults |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1149 | # Job template for building & pushing docker images |
| 1150 | # |
| 1151 | # The purpose of this job template is to run: |
| 1152 | # 1. login to the docker registry |
| 1153 | # 2. inject a version.properties file and set versions |
| 1154 | # 3. run a docker push |
| 1155 | # |
| 1156 | # Required Variables: |
| 1157 | # pom: name/location of the pom.xml file relative to the workspace |
| 1158 | # profile: the docker profile defined in the pom |
| 1159 | # maven-properties: properties passed to maven |
| 1160 | |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1161 | name: '{project-name}-{stream}-docker-version-java-daily' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1162 | id: '{project-name}-{stream}-docker-version-java-daily' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1163 | project-type: freestyle |
Paul Vaduva | 6dd8854 | 2018-12-11 16:59:12 +0100 | [diff] [blame] | 1164 | node: '{build-node}' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1165 | disabled: '{disabled}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1166 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1167 | - infra-properties: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1168 | build-days-to-keep: '{build-days-to-keep}' |
| 1169 | |
| 1170 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1171 | - infra-parameters: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1172 | project: '{project}' |
| 1173 | branch: '{branch}' |
| 1174 | refspec: 'refs/heads/{branch}' |
| 1175 | artifacts: '{archive-artifacts}' |
| 1176 | - maven-exec: |
| 1177 | maven-version: '{maven-version}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 1178 | - maven-params: |
| 1179 | mvn-params: '{mvn-params}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1180 | |
| 1181 | scm: |
| 1182 | - gerrit-trigger-scm: |
| 1183 | refspec: '' |
| 1184 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1185 | submodule-recursive: '{submodule-recursive}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1186 | |
| 1187 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1188 | - infra-wrappers: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1189 | build-timeout: '{build-timeout}' |
| 1190 | |
| 1191 | triggers: |
| 1192 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1193 | - timed: '@daily' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1194 | - gerrit-trigger-release-manually: |
| 1195 | server: '{server-name}' |
| 1196 | project: '{project}' |
| 1197 | branch: '{branch}' |
| 1198 | |
| 1199 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1200 | - lf-infra-pre-build |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1201 | - provide-maven-settings: |
| 1202 | global-settings-file: 'global-settings' |
| 1203 | settings-file: '{mvn-settings}' |
| 1204 | |
| 1205 | - inject: |
| 1206 | properties-file: version.properties |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1207 | - maven-set-release-version: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1208 | maven-version: '{maven-version}' |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1209 | mvn-settings: '{mvn-settings}' |
| 1210 | pom: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1211 | |
| 1212 | - docker-login |
| 1213 | |
| 1214 | - maven-docker-push-daily: |
| 1215 | maven-version: '{maven-version}' |
| 1216 | mvn-settings: '{mvn-settings}' |
| 1217 | pom: '{docker-pom}' |
| 1218 | # use default as mvn-profile if profile is not needed |
| 1219 | mvn-profile: '{mvn-profile}' |
Jessica Wagantall | f8f030a | 2018-05-07 11:13:19 -0700 | [diff] [blame] | 1220 | mvn-params: '{mvn-params}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1221 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1222 | publishers: |
| 1223 | - infra-shiplogs: |
| 1224 | maven-version: '{maven-version}' |
| 1225 | |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1226 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1227 | # Job template for building & pushing docker images |
| 1228 | # |
| 1229 | # The purpose of this job template is to run: |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1230 | # 1. login to the docker registry |
| 1231 | # 2. inject a version.properties file and set versions |
| 1232 | # 3. run a docker push |
| 1233 | # |
| 1234 | # Required Variables: |
| 1235 | # pom: name/location of the pom.xml file relative to the workspace |
| 1236 | # profile: the docker profile defined in the pom |
| 1237 | # maven-properties: properties passed to maven |
| 1238 | |
Gary Wu | 350fbcb | 2018-08-07 11:13:59 -0700 | [diff] [blame] | 1239 | <<: *docker_version_java_defaults |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1240 | name: '{project-name}-{stream}-docker-version-java-daily' |
| 1241 | id: 'docker-version-java-daily' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1242 | node: '{build-node}' |
Gary Wu | 9e9210f | 2018-07-18 16:19:20 -0700 | [diff] [blame] | 1243 | wrappers: |
| 1244 | - infra-wrappers-docker-build: |
| 1245 | build-timeout: '{build-timeout}' |
| 1246 | |
Zhaoxing | 4977304 | 2017-10-13 17:14:35 +0800 | [diff] [blame] | 1247 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1248 | # Job template for building & pushing docker images for AAI specific repos |
| 1249 | # |
| 1250 | # The purpose of this job template is to run: |
| 1251 | # 1. login to the docker registry |
| 1252 | # 2. run maven goals |
| 1253 | # 3. run include-docker-push.sh |
| 1254 | # |
| 1255 | # Required Variables: |
| 1256 | # pom: name/location of the pom.xml file relative to the workspace |
| 1257 | # maven-properties: properties passed to maven |
| 1258 | |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1259 | name: '{project-name}-{stream}-aai-docker-java-daily' |
| 1260 | project-type: freestyle |
Jessica Wagantall | ab30bf6 | 2018-11-08 12:20:48 -0800 | [diff] [blame] | 1261 | node: '{build-node}' |
Gary Wu | dc3f295 | 2017-08-23 16:48:59 -0700 | [diff] [blame] | 1262 | docker-image-name: '' |
Jessica Wagantall | 27a8a39 | 2018-03-16 17:22:11 -0700 | [diff] [blame] | 1263 | disabled: '{disabled}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1264 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1265 | - infra-properties: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1266 | build-days-to-keep: '{build-days-to-keep}' |
| 1267 | |
| 1268 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1269 | - infra-parameters: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1270 | project: '{project}' |
| 1271 | branch: '{branch}' |
| 1272 | refspec: 'refs/heads/{branch}' |
| 1273 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1274 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1275 | maven-version: '{maven-version}' |
Gary Wu | dc3f295 | 2017-08-23 16:48:59 -0700 | [diff] [blame] | 1276 | - docker-image-name: |
| 1277 | docker-image-name: '{docker-image-name}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1278 | |
| 1279 | scm: |
| 1280 | - gerrit-trigger-scm: |
| 1281 | refspec: '' |
| 1282 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1283 | submodule-recursive: '{submodule-recursive}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1284 | |
| 1285 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1286 | - infra-wrappers: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1287 | build-timeout: '{build-timeout}' |
| 1288 | |
| 1289 | triggers: |
| 1290 | # 12 AM UTC |
Gary Wu | 5f4277f | 2018-09-28 10:36:23 -0700 | [diff] [blame] | 1291 | - timed: '@daily' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1292 | - gerrit-trigger-release-manually: |
| 1293 | server: '{server-name}' |
| 1294 | project: '{project}' |
| 1295 | branch: '{branch}' |
| 1296 | |
| 1297 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1298 | - lf-infra-pre-build |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1299 | - provide-maven-settings: |
| 1300 | global-settings-file: 'global-settings' |
| 1301 | settings-file: '{mvn-settings}' |
| 1302 | |
| 1303 | - docker-login |
| 1304 | |
| 1305 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1306 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1307 | pom: 'pom.xml' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1308 | goals: 'clean install -DskipTests -B |
| 1309 | -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] | 1310 | settings: '{mvn-settings}' |
| 1311 | settings-type: cfp |
| 1312 | global-settings: 'global-settings' |
| 1313 | global-settings-type: cfp |
| 1314 | |
| 1315 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1316 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1317 | pom: '{pom}' |
| 1318 | goals: '{mvn-goals}' |
| 1319 | settings: '{mvn-settings}' |
| 1320 | settings-type: cfp |
| 1321 | global-settings: 'global-settings' |
| 1322 | global-settings-type: cfp |
| 1323 | properties: |
| 1324 | - maven.test.skip=true |
Jeremy Phelps | 48028ab | 2017-03-28 15:38:24 -0500 | [diff] [blame] | 1325 | - docker.pull.registry=nexus3.onap.org:10001 |
| 1326 | - docker.push.registry=nexus3.onap.org:10003 |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1327 | |
Venkata Harish K Kajur | bf07d0a | 2017-03-26 11:58:15 +0000 | [diff] [blame] | 1328 | - shell: !include-raw-escape: include-docker-push.sh |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1329 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1330 | publishers: |
| 1331 | - infra-shiplogs: |
| 1332 | maven-version: '{maven-version}' |
| 1333 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1334 | - job-template: |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1335 | # Job template for Java merge jobs for SDC specific repos |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1336 | # |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1337 | # The purpose of this job template is to run: |
| 1338 | # 1. maven clean deploy |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1339 | # |
| 1340 | # Required Variables: |
| 1341 | # branch: git branch (eg. stable/lithium or master) |
Jessica Wagantall | a0b80c6 | 2017-12-21 12:10:19 -0800 | [diff] [blame] | 1342 | |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 1343 | <<: *merge_java_defaults |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1344 | name: '{project-name}-{stream}-sdc-merge-java' |
| 1345 | |
Paul Vaduva | 3aebd31 | 2019-02-01 13:35:21 +0100 | [diff] [blame] | 1346 | node: '{build-node}' |
Jessica Wagantall | 9a89de4 | 2018-04-18 11:35:17 -0700 | [diff] [blame] | 1347 | build-timeout: 120 |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1348 | |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1349 | builders: |
Jessica Wagantall | 05ae7da | 2018-10-22 17:32:33 -0700 | [diff] [blame] | 1350 | - lf-infra-pre-build |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1351 | - provide-maven-settings: |
| 1352 | global-settings-file: 'global-settings' |
| 1353 | settings-file: '{mvn-settings}' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1354 | |
| 1355 | - docker-login |
| 1356 | |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 1357 | - maven-docker-push-daily: |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1358 | maven-version: '{maven-version}' |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1359 | mvn-settings: '{mvn-settings}' |
| 1360 | pom: '{docker-pom}' |
| 1361 | # use default as mvn-profile if profile is not needed |
| 1362 | mvn-profile: '{mvn-profile}' |
Gary Wu | 6c70277 | 2018-08-06 18:48:02 -0700 | [diff] [blame] | 1363 | mvn-params: '' |