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