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