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