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: |
JulienBe | 77903ed | 2017-07-17 15:30:26 +0200 | [diff] [blame] | 438 | # Job template for Java daily release jobs running checkstyle at the end |
| 439 | # When checkstyle will be fully incorporated, it is meant to replace |
| 440 | # '{project-name}-{stream}-release-java-daily' |
| 441 | # The purpose of this job template is to run "maven version && maven clean |
| 442 | # deploy" for projects using this template. |
| 443 | # |
| 444 | # Required Variables: |
| 445 | # branch: git branch (eg. stable/lithium or master) |
| 446 | name: '{project-name}-{stream}-release-java-daily-checkstyle' |
| 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 | parameters: |
| 454 | - infra-parameters: |
| 455 | project: '{project}' |
| 456 | branch: '{branch}' |
| 457 | refspec: 'refs/heads/{branch}' |
| 458 | artifacts: '{archive-artifacts}' |
| 459 | - maven-exec: |
| 460 | maven-version: '{maven-version}' |
| 461 | scm: |
| 462 | - gerrit-trigger-scm: |
| 463 | refspec: '' |
| 464 | choosing-strategy: 'default' |
| 465 | submodule-recursive: '{submodule-recursive}' |
| 466 | wrappers: |
| 467 | - infra-wrappers: |
| 468 | build-timeout: '{build-timeout}' |
| 469 | triggers: |
| 470 | # 11 AM UTC |
| 471 | - timed: 'H 11 * * *' |
| 472 | - gerrit-trigger-release-manually: |
| 473 | server: '{server-name}' |
| 474 | project: '{project}' |
| 475 | branch: '{branch}' |
| 476 | builders: |
| 477 | - provide-maven-settings: |
| 478 | global-settings-file: 'global-settings' |
| 479 | settings-file: '{mvn-settings}' |
| 480 | - maven-target: |
| 481 | maven-version: '{maven-version}' |
| 482 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 483 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 484 | properties: |
| 485 | - '{maven-deploy-properties}' |
| 486 | settings: '{mvn-settings}' |
| 487 | settings-type: cfp |
| 488 | global-settings: 'global-settings' |
| 489 | global-settings-type: cfp |
| 490 | publishers: |
| 491 | - infra-shiplogs: |
| 492 | maven-version: '{maven-version}' |
| 493 | - checkstyle-result-daily |
| 494 | |
| 495 | - job-template: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 496 | # Job template for Java daily release jobs |
| 497 | # |
| 498 | # The purpose of this job template is to run "maven version && maven clean |
| 499 | # deploy" for projects using this template. |
| 500 | # |
| 501 | # Required Variables: |
| 502 | # branch: git branch (eg. stable/lithium or master) |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 503 | name: '{project-name}-{stream}-release-version-java-daily-no-sonar' |
| 504 | |
| 505 | project-type: freestyle |
| 506 | node: '{build-node}' |
| 507 | maven-deploy-properties: |
| 508 | properties: |
| 509 | - infra-properties: |
| 510 | build-days-to-keep: '{build-days-to-keep}' |
| 511 | |
| 512 | parameters: |
| 513 | - infra-parameters: |
| 514 | project: '{project}' |
| 515 | branch: '{branch}' |
| 516 | refspec: 'refs/heads/{branch}' |
| 517 | artifacts: '{archive-artifacts}' |
| 518 | - maven-exec: |
| 519 | maven-version: '{maven-version}' |
| 520 | |
| 521 | scm: |
| 522 | - gerrit-trigger-scm: |
| 523 | refspec: '' |
| 524 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 525 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 526 | |
| 527 | wrappers: |
| 528 | - infra-wrappers: |
| 529 | build-timeout: '{build-timeout}' |
| 530 | |
| 531 | triggers: |
| 532 | # 11 AM UTC |
| 533 | - timed: 'H 11 * * *' |
| 534 | - gerrit-trigger-release-manually: |
| 535 | server: '{server-name}' |
| 536 | project: '{project}' |
| 537 | branch: '{branch}' |
| 538 | |
| 539 | builders: |
| 540 | - provide-maven-settings: |
| 541 | global-settings-file: 'global-settings' |
| 542 | settings-file: '{mvn-settings}' |
| 543 | |
| 544 | - inject: |
| 545 | properties-file: version.properties |
| 546 | - maven-target: |
| 547 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 548 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Pamela Dragosh | 55ceb8f | 2017-05-23 12:23:16 -0400 | [diff] [blame] | 549 | properties: |
| 550 | - 'newVersion=${{release_version}}' |
| 551 | settings: '{mvn-settings}' |
| 552 | settings-type: cfp |
| 553 | global-settings: 'global-settings' |
| 554 | global-settings-type: cfp |
| 555 | |
| 556 | - maven-target: |
| 557 | maven-version: '{maven-version}' |
| 558 | goals: 'clean deploy -B |
| 559 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 560 | properties: |
| 561 | - '{maven-deploy-properties}' |
| 562 | settings: '{mvn-settings}' |
| 563 | settings-type: cfp |
| 564 | global-settings: 'global-settings' |
| 565 | global-settings-type: cfp |
| 566 | |
| 567 | publishers: |
| 568 | - infra-shiplogs: |
| 569 | maven-version: '{maven-version}' |
| 570 | |
| 571 | - job-template: |
| 572 | # Job template for Java daily release jobs |
| 573 | # |
| 574 | # The purpose of this job template is to run "maven version && maven clean |
| 575 | # deploy" for projects using this template. |
| 576 | # |
| 577 | # Required Variables: |
| 578 | # branch: git branch (eg. stable/lithium or master) |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 579 | name: '{project-name}-{stream}-release-version-java-daily' |
| 580 | |
| 581 | project-type: freestyle |
| 582 | node: '{build-node}' |
| 583 | maven-deploy-properties: |
| 584 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 585 | - infra-properties: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 586 | build-days-to-keep: '{build-days-to-keep}' |
| 587 | |
| 588 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 589 | - infra-parameters: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 590 | project: '{project}' |
| 591 | branch: '{branch}' |
| 592 | refspec: 'refs/heads/{branch}' |
| 593 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 594 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 595 | maven-version: '{maven-version}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 596 | |
| 597 | scm: |
| 598 | - gerrit-trigger-scm: |
| 599 | refspec: '' |
| 600 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 601 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 602 | |
| 603 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 604 | - infra-wrappers: |
JulienBe | 5641aa0 | 2017-02-17 01:08:38 -0800 | [diff] [blame] | 605 | build-timeout: '{build-timeout}' |
| 606 | |
| 607 | triggers: |
| 608 | # 11 AM UTC |
| 609 | - timed: 'H 11 * * *' |
| 610 | - gerrit-trigger-release-manually: |
| 611 | server: '{server-name}' |
| 612 | project: '{project}' |
| 613 | branch: '{branch}' |
| 614 | |
| 615 | builders: |
| 616 | - provide-maven-settings: |
| 617 | global-settings-file: 'global-settings' |
| 618 | settings-file: '{mvn-settings}' |
| 619 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 620 | - inject: |
| 621 | properties-file: version.properties |
| 622 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 623 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 624 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 625 | properties: |
| 626 | - 'newVersion=${{release_version}}' |
| 627 | settings: '{mvn-settings}' |
| 628 | settings-type: cfp |
| 629 | global-settings: 'global-settings' |
| 630 | global-settings-type: cfp |
| 631 | |
| 632 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 633 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 634 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 635 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | 24443ee | 2017-02-02 08:29:12 -0800 | [diff] [blame] | 636 | properties: |
| 637 | - '{maven-deploy-properties}' |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 638 | settings: '{mvn-settings}' |
| 639 | settings-type: cfp |
| 640 | global-settings: 'global-settings' |
| 641 | global-settings-type: cfp |
| 642 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 643 | publishers: |
| 644 | - infra-shiplogs: |
| 645 | maven-version: '{maven-version}' |
| 646 | |
JulienBe | 2f4ee07 | 2017-02-01 21:42:32 +0100 | [diff] [blame] | 647 | - job-template: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 648 | # Job template for Java daily release jobs with POM not at the root |
| 649 | # |
| 650 | # The purpose of this job template is to run "maven version && maven clean |
| 651 | # deploy" for projects using this template. |
| 652 | # |
| 653 | # Required Variables: |
| 654 | # branch: git branch (eg. stable/lithium or master) |
| 655 | # pom: name/location of the pom.xml file relative to the workspace |
| 656 | |
| 657 | |
| 658 | name: '{project-name}-{stream}-{subproject}-release-java-daily' |
| 659 | |
| 660 | project-type: freestyle |
| 661 | node: '{build-node}' |
| 662 | maven-deploy-properties: |
| 663 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 664 | - infra-properties: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 665 | build-days-to-keep: '{build-days-to-keep}' |
| 666 | |
| 667 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 668 | - infra-parameters: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 669 | project: '{project}' |
| 670 | branch: '{branch}' |
| 671 | refspec: 'refs/heads/{branch}' |
| 672 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 673 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 674 | maven-version: '{maven-version}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 675 | |
| 676 | scm: |
| 677 | - gerrit-trigger-scm: |
| 678 | refspec: '' |
| 679 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 680 | submodule-recursive: '{submodule-recursive}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 681 | |
| 682 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 683 | - infra-wrappers: |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 684 | build-timeout: '{build-timeout}' |
| 685 | |
| 686 | triggers: |
| 687 | # 11 AM UTC |
| 688 | - timed: 'H 11 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 689 | - gerrit-trigger-release-manually: |
| 690 | server: '{server-name}' |
| 691 | project: '{project}' |
| 692 | branch: '{branch}' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 693 | |
| 694 | builders: |
| 695 | - provide-maven-settings: |
| 696 | global-settings-file: 'global-settings' |
| 697 | settings-file: '{mvn-settings}' |
| 698 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 699 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 700 | maven-version: '{maven-version}' |
Carsten Lund | 63cd3b8 | 2017-02-18 18:19:22 +0000 | [diff] [blame] | 701 | pom: '{pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 702 | goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B |
| 703 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 704 | properties: |
| 705 | - '{maven-deploy-properties}' |
| 706 | settings: '{mvn-settings}' |
| 707 | settings-type: cfp |
| 708 | global-settings: 'global-settings' |
| 709 | global-settings-type: cfp |
| 710 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 711 | publishers: |
| 712 | - infra-shiplogs: |
| 713 | maven-version: '{maven-version}' |
| 714 | |
Carsten Lund | da8b697 | 2017-02-15 23:59:25 +0000 | [diff] [blame] | 715 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 716 | # Job template for Java merge jobs |
| 717 | # |
| 718 | # The purpose of this job template is to run "maven clean deploy" for |
| 719 | # projects using this template. |
| 720 | # |
| 721 | # Required Variables: |
| 722 | # branch: git branch (eg. stable/lithium or master) |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 723 | name: '{project-name}-{stream}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 724 | |
| 725 | project-type: freestyle |
| 726 | node: '{build-node}' |
| 727 | |
| 728 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 729 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 730 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 731 | |
| 732 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 733 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 734 | project: '{project}' |
| 735 | branch: '{branch}' |
| 736 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 737 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 738 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 739 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 740 | |
| 741 | scm: |
| 742 | - gerrit-trigger-scm: |
| 743 | refspec: '' |
| 744 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 745 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 746 | |
| 747 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 748 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 749 | build-timeout: '{build-timeout}' |
| 750 | |
| 751 | triggers: |
| 752 | - gerrit-trigger-patch-merged: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 753 | server: '{server-name}' |
| 754 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 755 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 756 | files: '**' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 757 | |
| 758 | builders: |
| 759 | - provide-maven-settings: |
| 760 | global-settings-file: 'global-settings' |
| 761 | settings-file: '{mvn-settings}' |
| 762 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 763 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 764 | goals: 'clean deploy -B |
| 765 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 766 | settings: '{mvn-settings}' |
| 767 | settings-type: cfp |
| 768 | global-settings: 'global-settings' |
| 769 | global-settings-type: cfp |
| 770 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 771 | publishers: |
| 772 | - infra-shiplogs: |
| 773 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 774 | |
| 775 | - job-template: |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 776 | # Job template for Java merge jobs that takes a maven template |
| 777 | # |
| 778 | # The purpose of this job template is to run "maven clean deploy -P {x}" |
| 779 | # for projects using this template. |
| 780 | # |
| 781 | # Required Variables: |
| 782 | # branch: git branch (eg. stable/lithium or master) |
| 783 | name: '{project-name}-{stream}-merge-profile-java' |
| 784 | |
| 785 | project-type: freestyle |
| 786 | node: '{build-node}' |
| 787 | |
| 788 | properties: |
| 789 | - infra-properties: |
| 790 | build-days-to-keep: '{build-days-to-keep}' |
| 791 | |
| 792 | parameters: |
| 793 | - infra-parameters: |
| 794 | project: '{project}' |
| 795 | branch: '{branch}' |
| 796 | refspec: 'refs/heads/{branch}' |
| 797 | artifacts: '{archive-artifacts}' |
| 798 | - maven-exec: |
| 799 | maven-version: '{maven-version}' |
| 800 | |
| 801 | scm: |
| 802 | - gerrit-trigger-scm: |
| 803 | refspec: '' |
| 804 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 805 | submodule-recursive: '{submodule-recursive}' |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 806 | |
| 807 | wrappers: |
| 808 | - infra-wrappers: |
| 809 | build-timeout: '{build-timeout}' |
| 810 | |
| 811 | triggers: |
| 812 | - gerrit-trigger-patch-merged: |
| 813 | server: '{server-name}' |
| 814 | project: '{project}' |
| 815 | branch: '{branch}' |
| 816 | files: '**' |
| 817 | |
| 818 | builders: |
| 819 | - provide-maven-settings: |
| 820 | global-settings-file: 'global-settings' |
| 821 | settings-file: '{mvn-settings}' |
Determe, Sebastien (sd378r) | 62e4e66 | 2017-04-26 08:00:00 -0700 | [diff] [blame] | 822 | |
| 823 | - docker-login |
| 824 | |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 825 | - maven-target: |
| 826 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 827 | goals: 'clean deploy -P {mvn-profile} -B |
| 828 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 829 | settings: '{mvn-settings}' |
| 830 | settings-type: cfp |
| 831 | global-settings: 'global-settings' |
| 832 | global-settings-type: cfp |
Determe, Sebastien (sd378r) | 345956b | 2017-04-28 08:45:52 -0700 | [diff] [blame] | 833 | properties: |
| 834 | - docker.pull.registry=nexus3.onap.org:10001 |
| 835 | - docker.push.registry=nexus3.onap.org:10003 |
JulienBe | ef823f1 | 2017-04-12 04:52:40 -0700 | [diff] [blame] | 836 | |
| 837 | publishers: |
| 838 | - infra-shiplogs: |
| 839 | maven-version: '{maven-version}' |
| 840 | |
| 841 | - job-template: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 842 | # Job template for Java merge jobs that should also be triggered by upstream |
| 843 | # merges |
| 844 | # |
| 845 | # Required Variables: |
| 846 | # stream: release stream |
| 847 | # branch: git branch |
| 848 | # dependencies: fully qualified upstream job name to trigger on |
| 849 | # this may be '' |
| 850 | name: '{project-name}-{stream}-downstream-merge-java' |
| 851 | |
| 852 | project-type: freestyle |
| 853 | node: '{build-node}' |
| 854 | |
| 855 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 856 | - infra-properties: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 857 | build-days-to-keep: '{build-days-to-keep}' |
| 858 | |
| 859 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 860 | - infra-parameters: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 861 | project: '{project}' |
| 862 | branch: '{branch}' |
| 863 | refspec: 'refs/heads/{branch}' |
| 864 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 865 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 866 | maven-version: '{maven-version}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 867 | |
| 868 | scm: |
| 869 | - gerrit-trigger-scm: |
| 870 | refspec: '' |
| 871 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 872 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 873 | |
| 874 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 875 | - infra-wrappers: |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 876 | build-timeout: '{build-timeout}' |
| 877 | |
| 878 | triggers: |
| 879 | - reverse: |
| 880 | jobs: '{dependencies}' |
| 881 | result: 'success' |
| 882 | - gerrit-trigger-patch-merged: |
| 883 | server: '{server-name}' |
| 884 | project: '{project}' |
| 885 | branch: '{branch}' |
| 886 | files: '**' |
| 887 | |
| 888 | builders: |
| 889 | - provide-maven-settings: |
| 890 | global-settings-file: 'global-settings' |
| 891 | settings-file: '{mvn-settings}' |
| 892 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 893 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 894 | goals: 'clean deploy -B |
| 895 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 896 | settings: '{mvn-settings}' |
| 897 | settings-type: cfp |
| 898 | global-settings: 'global-settings' |
| 899 | global-settings-type: cfp |
| 900 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 901 | publishers: |
| 902 | - infra-shiplogs: |
| 903 | maven-version: '{maven-version}' |
Andrew Grimberg | dd853c5 | 2017-02-16 14:14:26 -0800 | [diff] [blame] | 904 | |
| 905 | - job-template: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 906 | # Job template for Java merge jobs with POM not at the root |
| 907 | # |
| 908 | # The purpose of this job template is to run "maven clean deploy" for |
| 909 | # projects using this template. |
| 910 | # |
| 911 | # Required Variables: |
| 912 | # branch: git branch (eg. stable/lithium or master) |
| 913 | # pom: name/location of the pom.xml file relative to the workspace |
| 914 | # pattern: ant file-path pattern relative to the workspace used to |
| 915 | # trigger the job |
| 916 | |
Andrew Grimberg | ce2286c | 2017-01-31 05:50:39 -0800 | [diff] [blame] | 917 | name: '{project-name}-{stream}-{subproject}-merge-java' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 918 | |
| 919 | project-type: freestyle |
| 920 | node: '{build-node}' |
| 921 | |
| 922 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 923 | - infra-properties: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 924 | build-days-to-keep: '{build-days-to-keep}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 925 | |
| 926 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 927 | - infra-parameters: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 928 | project: '{project}' |
| 929 | branch: '{branch}' |
| 930 | refspec: 'refs/heads/{branch}' |
Andrew Grimberg | 597853d | 2017-01-31 05:28:25 -0800 | [diff] [blame] | 931 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 932 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 933 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 934 | |
| 935 | scm: |
| 936 | - gerrit-trigger-scm: |
| 937 | refspec: '' |
| 938 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 939 | submodule-recursive: '{submodule-recursive}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 940 | |
| 941 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 942 | - infra-wrappers: |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 943 | build-timeout: '{build-timeout}' |
| 944 | |
| 945 | triggers: |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 946 | - gerrit-trigger-patch-merged: |
| 947 | server: '{server-name}' |
| 948 | project: '{project}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 949 | branch: '{branch}' |
Andrew Grimberg | 94ef33d | 2017-01-31 05:16:56 -0800 | [diff] [blame] | 950 | files: '{pattern}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 951 | |
| 952 | builders: |
| 953 | - provide-maven-settings: |
| 954 | global-settings-file: 'global-settings' |
| 955 | settings-file: '{mvn-settings}' |
| 956 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 957 | maven-version: '{maven-version}' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 958 | pom: '{pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 959 | goals: 'clean deploy -B |
| 960 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 961 | settings: '{mvn-settings}' |
| 962 | settings-type: cfp |
| 963 | global-settings: 'global-settings' |
| 964 | global-settings-type: cfp |
| 965 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 966 | publishers: |
| 967 | - infra-shiplogs: |
| 968 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 969 | |
| 970 | - job-template: |
| 971 | name: '{project-name}-{stream}-docker-java-daily' |
| 972 | project-type: freestyle |
Andrew Grimberg | 2137b1d | 2017-02-15 07:24:53 -0800 | [diff] [blame] | 973 | node: 'ubuntu1604-docker-8c-8g' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 974 | |
| 975 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 976 | - infra-properties: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 977 | build-days-to-keep: '{build-days-to-keep}' |
| 978 | |
| 979 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 980 | - infra-parameters: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 981 | project: '{project}' |
| 982 | branch: '{branch}' |
| 983 | refspec: 'refs/heads/{branch}' |
| 984 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 985 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 986 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 987 | |
| 988 | scm: |
| 989 | - gerrit-trigger-scm: |
| 990 | refspec: '' |
| 991 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 992 | submodule-recursive: '{submodule-recursive}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 993 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 994 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 995 | - infra-wrappers: |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 996 | build-timeout: '{build-timeout}' |
| 997 | |
| 998 | triggers: |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 999 | # 12 AM UTC |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1000 | - timed: 'H 12 * * *' |
JulienBe | 0d8c2c3 | 2017-02-16 11:50:48 -0800 | [diff] [blame] | 1001 | - gerrit-trigger-release-manually: |
| 1002 | server: '{server-name}' |
| 1003 | project: '{project}' |
| 1004 | branch: '{branch}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1005 | |
| 1006 | builders: |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 1007 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1008 | - provide-maven-settings: |
| 1009 | global-settings-file: 'global-settings' |
| 1010 | settings-file: '{mvn-settings}' |
Anaël Closson | 7313fea | 2017-02-14 15:56:21 +0100 | [diff] [blame] | 1011 | |
Anaël Closson | 63e090e | 2017-02-15 14:50:45 +0100 | [diff] [blame] | 1012 | - docker-login |
| 1013 | |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1014 | - maven-docker-push-daily: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1015 | maven-version: '{maven-version}' |
Anaël Closson | abbafb5 | 2017-02-09 17:55:10 +0100 | [diff] [blame] | 1016 | mvn-settings: '{mvn-settings}' |
| 1017 | pom: '{docker-pom}' |
Anaël Closson | 30a5c77 | 2017-02-16 15:02:56 +0100 | [diff] [blame] | 1018 | # use default as mvn-profile if profile is not needed |
| 1019 | mvn-profile: '{mvn-profile}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1020 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1021 | publishers: |
| 1022 | - infra-shiplogs: |
| 1023 | maven-version: '{maven-version}' |
| 1024 | |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1025 | - job-template: |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 1026 | # Job template for building & pushing docker images |
| 1027 | # |
| 1028 | # The purpose of this job template is to run : |
| 1029 | # 1. login to the docker registry |
| 1030 | # 2. do a clean deploy on the specified profile |
| 1031 | # |
| 1032 | # Required Variables: |
| 1033 | # pom: name/location of the pom.xml file relative to the workspace |
| 1034 | # profile: the docker profile defined in the pom |
| 1035 | # maven-properties: properties passed to maven |
| 1036 | name: '{project-name}-{stream}-docker-java-properties-daily' |
| 1037 | project-type: freestyle |
| 1038 | node: 'ubuntu1604-docker-8c-8g' |
| 1039 | properties: |
| 1040 | - infra-properties: |
| 1041 | build-days-to-keep: '{build-days-to-keep}' |
| 1042 | parameters: |
| 1043 | - infra-parameters: |
| 1044 | project: '{project}' |
| 1045 | branch: '{branch}' |
| 1046 | refspec: 'refs/heads/{branch}' |
| 1047 | artifacts: '{archive-artifacts}' |
| 1048 | - maven-exec: |
| 1049 | maven-version: '{maven-version}' |
| 1050 | scm: |
| 1051 | - gerrit-trigger-scm: |
| 1052 | refspec: '' |
| 1053 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1054 | submodule-recursive: '{submodule-recursive}' |
JulienBe | 91c56ec | 2017-06-21 23:37:39 +0200 | [diff] [blame] | 1055 | wrappers: |
| 1056 | - infra-wrappers: |
| 1057 | build-timeout: '{build-timeout}' |
| 1058 | triggers: |
| 1059 | # 12 AM UTC |
| 1060 | - timed: 'H 12 * * *' |
| 1061 | - gerrit-trigger-release-manually: |
| 1062 | server: '{server-name}' |
| 1063 | project: '{project}' |
| 1064 | branch: '{branch}' |
| 1065 | builders: |
| 1066 | - provide-maven-settings: |
| 1067 | global-settings-file: 'global-settings' |
| 1068 | settings-file: '{mvn-settings}' |
| 1069 | - docker-login |
| 1070 | - maven-docker-push-daily: |
| 1071 | maven-version: '{maven-version}' |
| 1072 | mvn-settings: '{mvn-settings}' |
| 1073 | pom: '{docker-pom}' |
| 1074 | properties: '{maven-properties}' |
| 1075 | # use default as mvn-profile if profile is not needed |
| 1076 | mvn-profile: '{mvn-profile}' |
| 1077 | publishers: |
| 1078 | - infra-shiplogs: |
| 1079 | maven-version: '{maven-version}' |
| 1080 | |
| 1081 | - job-template: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1082 | name: '{project-name}-{stream}-docker-java-shell-daily' |
| 1083 | project-type: freestyle |
| 1084 | node: 'ubuntu1604-docker-8c-8g' |
| 1085 | |
| 1086 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1087 | - infra-properties: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1088 | build-days-to-keep: '{build-days-to-keep}' |
| 1089 | |
| 1090 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1091 | - infra-parameters: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1092 | project: '{project}' |
| 1093 | branch: '{branch}' |
| 1094 | refspec: 'refs/heads/{branch}' |
| 1095 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1096 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1097 | maven-version: '{maven-version}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1098 | |
| 1099 | scm: |
| 1100 | - gerrit-trigger-scm: |
| 1101 | refspec: '' |
| 1102 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1103 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1104 | |
| 1105 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1106 | - infra-wrappers: |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1107 | build-timeout: '{build-timeout}' |
| 1108 | |
| 1109 | triggers: |
| 1110 | # 12 AM UTC |
| 1111 | - timed: 'H 12 * * *' |
| 1112 | - gerrit-trigger-release-manually: |
| 1113 | server: '{server-name}' |
| 1114 | project: '{project}' |
| 1115 | branch: '{branch}' |
| 1116 | |
| 1117 | builders: |
| 1118 | |
| 1119 | - provide-maven-settings: |
| 1120 | global-settings-file: 'global-settings' |
| 1121 | settings-file: '{mvn-settings}' |
| 1122 | |
| 1123 | - docker-login |
| 1124 | |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 1125 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1126 | maven-version: '{maven-version}' |
Pamela Dragosh | 366fbc3 | 2017-02-19 20:09:09 -0500 | [diff] [blame] | 1127 | goals: '{mvn-goals}' |
| 1128 | settings: '{mvn-settings}' |
| 1129 | settings-type: cfp |
| 1130 | global-settings: 'global-settings' |
| 1131 | global-settings-type: cfp |
Pamela Dragosh | accf645 | 2017-02-17 08:09:31 -0500 | [diff] [blame] | 1132 | |
| 1133 | - shell: '{script}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1134 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1135 | publishers: |
| 1136 | - infra-shiplogs: |
| 1137 | maven-version: '{maven-version}' |
| 1138 | |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1139 | - job-template: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1140 | name: '{project-name}-{stream}-docker-java-version-shell-daily' |
| 1141 | project-type: freestyle |
| 1142 | node: 'ubuntu1604-docker-8c-8g' |
| 1143 | |
| 1144 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1145 | - infra-properties: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1146 | build-days-to-keep: '{build-days-to-keep}' |
| 1147 | |
| 1148 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1149 | - infra-parameters: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1150 | project: '{project}' |
| 1151 | branch: '{branch}' |
| 1152 | refspec: 'refs/heads/{branch}' |
| 1153 | artifacts: '{archive-artifacts}' |
| 1154 | - maven-exec: |
| 1155 | maven-version: '{maven-version}' |
| 1156 | |
| 1157 | scm: |
| 1158 | - gerrit-trigger-scm: |
| 1159 | refspec: '' |
| 1160 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1161 | submodule-recursive: '{submodule-recursive}' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1162 | |
| 1163 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1164 | - infra-wrappers: |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1165 | build-timeout: '{build-timeout}' |
| 1166 | |
| 1167 | triggers: |
| 1168 | # 12 AM UTC |
| 1169 | - timed: 'H 12 * * *' |
| 1170 | - gerrit-trigger-release-manually: |
| 1171 | server: '{server-name}' |
| 1172 | project: '{project}' |
| 1173 | branch: '{branch}' |
| 1174 | |
| 1175 | builders: |
| 1176 | |
| 1177 | - provide-maven-settings: |
| 1178 | global-settings-file: 'global-settings' |
| 1179 | settings-file: '{mvn-settings}' |
| 1180 | |
| 1181 | - inject: |
| 1182 | properties-file: version.properties |
| 1183 | |
| 1184 | - maven-target: |
| 1185 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 1186 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1187 | properties: |
| 1188 | - 'newVersion=${{release_version}}' |
| 1189 | settings: '{mvn-settings}' |
| 1190 | settings-type: cfp |
| 1191 | global-settings: 'global-settings' |
| 1192 | global-settings-type: cfp |
| 1193 | |
| 1194 | - docker-login |
| 1195 | |
| 1196 | - maven-target: |
| 1197 | maven-version: '{maven-version}' |
| 1198 | goals: '{mvn-goals}' |
| 1199 | settings: '{mvn-settings}' |
| 1200 | settings-type: cfp |
| 1201 | global-settings: 'global-settings' |
| 1202 | global-settings-type: cfp |
| 1203 | |
| 1204 | - shell: '{script}' |
| 1205 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1206 | publishers: |
| 1207 | - infra-shiplogs: |
| 1208 | maven-version: '{maven-version}' |
| 1209 | |
Pamela Dragosh | 2814e4d | 2017-03-15 12:52:55 -0400 | [diff] [blame] | 1210 | - job-template: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1211 | name: '{project-name}-{stream}-docker-version-java-daily' |
| 1212 | project-type: freestyle |
| 1213 | node: 'ubuntu1604-docker-8c-8g' |
| 1214 | |
| 1215 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1216 | - infra-properties: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1217 | build-days-to-keep: '{build-days-to-keep}' |
| 1218 | |
| 1219 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1220 | - infra-parameters: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1221 | project: '{project}' |
| 1222 | branch: '{branch}' |
| 1223 | refspec: 'refs/heads/{branch}' |
| 1224 | artifacts: '{archive-artifacts}' |
| 1225 | - maven-exec: |
| 1226 | maven-version: '{maven-version}' |
| 1227 | |
| 1228 | scm: |
| 1229 | - gerrit-trigger-scm: |
| 1230 | refspec: '' |
| 1231 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1232 | submodule-recursive: '{submodule-recursive}' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1233 | |
| 1234 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1235 | - infra-wrappers: |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1236 | build-timeout: '{build-timeout}' |
| 1237 | |
| 1238 | triggers: |
| 1239 | # 12 AM UTC |
| 1240 | - timed: 'H 12 * * *' |
| 1241 | - gerrit-trigger-release-manually: |
| 1242 | server: '{server-name}' |
| 1243 | project: '{project}' |
| 1244 | branch: '{branch}' |
| 1245 | |
| 1246 | builders: |
| 1247 | |
| 1248 | - provide-maven-settings: |
| 1249 | global-settings-file: 'global-settings' |
| 1250 | settings-file: '{mvn-settings}' |
| 1251 | |
| 1252 | - inject: |
| 1253 | properties-file: version.properties |
| 1254 | |
| 1255 | - maven-target: |
| 1256 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 1257 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1258 | properties: |
| 1259 | - 'newVersion=${{release_version}}' |
| 1260 | settings: '{mvn-settings}' |
| 1261 | settings-type: cfp |
| 1262 | global-settings: 'global-settings' |
| 1263 | global-settings-type: cfp |
| 1264 | |
| 1265 | - docker-login |
| 1266 | |
| 1267 | - maven-docker-push-daily: |
| 1268 | maven-version: '{maven-version}' |
| 1269 | mvn-settings: '{mvn-settings}' |
| 1270 | pom: '{docker-pom}' |
| 1271 | # use default as mvn-profile if profile is not needed |
| 1272 | mvn-profile: '{mvn-profile}' |
| 1273 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1274 | publishers: |
| 1275 | - infra-shiplogs: |
| 1276 | maven-version: '{maven-version}' |
| 1277 | |
Patrick Brady | 39f388a | 2017-03-09 11:26:59 -0800 | [diff] [blame] | 1278 | - job-template: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1279 | name: '{project-name}-{stream}-aai-docker-java-daily' |
| 1280 | project-type: freestyle |
| 1281 | node: 'ubuntu1604-docker-8c-8g' |
| 1282 | |
| 1283 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1284 | - infra-properties: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1285 | build-days-to-keep: '{build-days-to-keep}' |
| 1286 | |
| 1287 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1288 | - infra-parameters: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1289 | project: '{project}' |
| 1290 | branch: '{branch}' |
| 1291 | refspec: 'refs/heads/{branch}' |
| 1292 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1293 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1294 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1295 | |
| 1296 | scm: |
| 1297 | - gerrit-trigger-scm: |
| 1298 | refspec: '' |
| 1299 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1300 | submodule-recursive: '{submodule-recursive}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1301 | |
| 1302 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1303 | - infra-wrappers: |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1304 | build-timeout: '{build-timeout}' |
| 1305 | |
| 1306 | triggers: |
| 1307 | # 12 AM UTC |
| 1308 | - timed: 'H 12 * * *' |
| 1309 | - gerrit-trigger-release-manually: |
| 1310 | server: '{server-name}' |
| 1311 | project: '{project}' |
| 1312 | branch: '{branch}' |
| 1313 | |
| 1314 | builders: |
| 1315 | |
| 1316 | - provide-maven-settings: |
| 1317 | global-settings-file: 'global-settings' |
| 1318 | settings-file: '{mvn-settings}' |
| 1319 | |
| 1320 | - docker-login |
| 1321 | |
| 1322 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1323 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1324 | pom: 'pom.xml' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1325 | goals: 'clean install -DskipTests -B |
| 1326 | -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] | 1327 | settings: '{mvn-settings}' |
| 1328 | settings-type: cfp |
| 1329 | global-settings: 'global-settings' |
| 1330 | global-settings-type: cfp |
| 1331 | |
| 1332 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1333 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1334 | pom: '{pom}' |
| 1335 | goals: '{mvn-goals}' |
| 1336 | settings: '{mvn-settings}' |
| 1337 | settings-type: cfp |
| 1338 | global-settings: 'global-settings' |
| 1339 | global-settings-type: cfp |
| 1340 | properties: |
| 1341 | - maven.test.skip=true |
Jeremy Phelps | 48028ab | 2017-03-28 15:38:24 -0500 | [diff] [blame] | 1342 | - docker.pull.registry=nexus3.onap.org:10001 |
| 1343 | - docker.push.registry=nexus3.onap.org:10003 |
Venkata Harish K Kajur | baaef36 | 2017-02-20 15:42:02 +0000 | [diff] [blame] | 1344 | |
Venkata Harish K Kajur | bf07d0a | 2017-03-26 11:58:15 +0000 | [diff] [blame] | 1345 | - shell: !include-raw-escape: include-docker-push.sh |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1346 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1347 | publishers: |
| 1348 | - infra-shiplogs: |
| 1349 | maven-version: '{maven-version}' |
| 1350 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1351 | - job-template: |
| 1352 | # Job template for Java daily release jobs |
| 1353 | # |
| 1354 | # The purpose of this job template is to run |
| 1355 | # - change version in all POM files to the release version specified |
| 1356 | # in version.properties. This is done using a script instread of |
| 1357 | # the mvn version plugin that assumes some specific parent structure. |
| 1358 | # - runs maven clean deploy sonar |
| 1359 | # |
| 1360 | # The POM files are required to use the Maven staging plugin so the deploy |
| 1361 | # does not deploy directly to the release repo. |
| 1362 | # |
| 1363 | # Required Variables: |
| 1364 | # branch: git branch (eg. stable/lithium or master) |
| 1365 | name: '{project-name}-{stream}-release-version2-java-daily' |
| 1366 | |
| 1367 | project-type: freestyle |
| 1368 | node: '{build-node}' |
| 1369 | maven-deploy-properties: |
| 1370 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1371 | - infra-properties: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1372 | build-days-to-keep: '{build-days-to-keep}' |
| 1373 | |
| 1374 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1375 | - infra-parameters: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1376 | project: '{project}' |
| 1377 | branch: '{branch}' |
| 1378 | refspec: 'refs/heads/{branch}' |
| 1379 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1380 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1381 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1382 | |
| 1383 | scm: |
| 1384 | - gerrit-trigger-scm: |
| 1385 | refspec: '' |
| 1386 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1387 | submodule-recursive: '{submodule-recursive}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1388 | |
| 1389 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1390 | - infra-wrappers: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1391 | build-timeout: '{build-timeout}' |
| 1392 | |
| 1393 | triggers: |
| 1394 | # 11 AM UTC |
| 1395 | - timed: 'H 11 * * *' |
| 1396 | - gerrit-trigger-release-manually: |
| 1397 | server: '{server-name}' |
| 1398 | project: '{project}' |
| 1399 | branch: '{branch}' |
| 1400 | |
| 1401 | builders: |
| 1402 | - provide-maven-settings: |
| 1403 | global-settings-file: 'global-settings' |
| 1404 | settings-file: '{mvn-settings}' |
Andrew Grimberg | b7f1615 | 2017-02-24 13:13:15 -0800 | [diff] [blame] | 1405 | - maven-install: |
| 1406 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1407 | |
| 1408 | - inject: |
| 1409 | properties-file: version.properties |
| 1410 | |
| 1411 | - shell: !include-raw-escape: include-update-pom-versions.sh |
| 1412 | |
| 1413 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1414 | maven-version: '{maven-version}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1415 | goals: 'clean deploy sonar:sonar site:site site:stage-deploy |
| 1416 | -Dsonar.host.url=${{SONAR}} -B |
| 1417 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1418 | properties: |
| 1419 | - '{maven-deploy-properties}' |
| 1420 | settings: '{mvn-settings}' |
| 1421 | settings-type: cfp |
| 1422 | global-settings: 'global-settings' |
| 1423 | global-settings-type: cfp |
| 1424 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1425 | publishers: |
| 1426 | - infra-shiplogs: |
| 1427 | maven-version: '{maven-version}' |
| 1428 | |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1429 | - job-template: |
| 1430 | # Job template for Java daily release jobs |
| 1431 | # |
| 1432 | # The purpose of this job template is to run |
| 1433 | # - change version in all POM files to the release version specified |
| 1434 | # in version.properties. This is done using a script instread of |
| 1435 | # the mvn version plugin that assumes some specific parent structure. |
| 1436 | # - runs maven clean deploy sonar |
| 1437 | # |
| 1438 | # The POM files are required to use the Maven staging plugin so the deploy |
| 1439 | # does not deploy directly to the release repo. |
| 1440 | # |
| 1441 | # Required Variables: |
| 1442 | # branch: git branch (eg. stable/lithium or master) |
| 1443 | # pom: name/location of the pom.xml file relative to the workspace |
| 1444 | # pattern: ant file-path pattern relative to the workspace used to |
| 1445 | # trigger the job |
| 1446 | |
| 1447 | name: '{project-name}-{stream}-{subproject}-release-version2-java-daily' |
| 1448 | |
| 1449 | project-type: freestyle |
| 1450 | node: '{build-node}' |
| 1451 | maven-deploy-properties: |
| 1452 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1453 | - infra-properties: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1454 | build-days-to-keep: '{build-days-to-keep}' |
| 1455 | |
| 1456 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1457 | - infra-parameters: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1458 | project: '{project}' |
| 1459 | branch: '{branch}' |
| 1460 | refspec: 'refs/heads/{branch}' |
| 1461 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | dcdce33 | 2017-02-24 11:27:09 -0800 | [diff] [blame] | 1462 | - maven-exec: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1463 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1464 | |
| 1465 | scm: |
| 1466 | - gerrit-trigger-scm: |
| 1467 | refspec: '' |
| 1468 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1469 | submodule-recursive: '{submodule-recursive}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1470 | |
| 1471 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1472 | - infra-wrappers: |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1473 | build-timeout: '{build-timeout}' |
| 1474 | |
| 1475 | triggers: |
| 1476 | # 11 AM UTC |
| 1477 | - timed: 'H 11 * * *' |
| 1478 | - gerrit-trigger-release-manually: |
| 1479 | server: '{server-name}' |
| 1480 | project: '{project}' |
| 1481 | branch: '{branch}' |
| 1482 | files: '{pattern}' |
| 1483 | |
| 1484 | builders: |
| 1485 | - provide-maven-settings: |
| 1486 | global-settings-file: 'global-settings' |
| 1487 | settings-file: '{mvn-settings}' |
Andrew Grimberg | b7f1615 | 2017-02-24 13:13:15 -0800 | [diff] [blame] | 1488 | - maven-install: |
| 1489 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1490 | |
| 1491 | - inject: |
| 1492 | properties-file: version.properties |
| 1493 | |
| 1494 | - shell: !include-raw-escape: include-update-pom-versions.sh |
| 1495 | |
| 1496 | - maven-target: |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 1497 | maven-version: '{maven-version}' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1498 | pom: '{pom}' |
Andrew Grimberg | e55b622 | 2017-05-03 16:19:28 -0400 | [diff] [blame] | 1499 | goals: 'clean deploy sonar:sonar site:site site:stage-deploy |
| 1500 | -Dsonar.host.url=${{SONAR}} -B |
| 1501 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
Carsten Lund | 2d06a69 | 2017-02-23 18:23:07 +0000 | [diff] [blame] | 1502 | properties: |
| 1503 | - '{maven-deploy-properties}' |
| 1504 | settings: '{mvn-settings}' |
| 1505 | settings-type: cfp |
| 1506 | global-settings: 'global-settings' |
| 1507 | global-settings-type: cfp |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1508 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1509 | publishers: |
| 1510 | - infra-shiplogs: |
| 1511 | maven-version: '{maven-version}' |
| 1512 | |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1513 | - job-template: |
| 1514 | # Template for maven site plugin invocation |
| 1515 | # |
| 1516 | # It's designed to be triggered when the trigger-job job |
| 1517 | # succeeds as there's no need for new documentaiton |
| 1518 | # if the build job fails. |
| 1519 | # |
| 1520 | # Those parameters should be set : |
| 1521 | # - site-pom : the pom file that contains the site confiration |
| 1522 | # - trigger-job : the name of the project that triggers this job |
| 1523 | # upon success. The job name can be |
| 1524 | # parameterized. |
| 1525 | name: '{project-name}-{stream}-stage-site-java' |
| 1526 | project-type: freestyle |
Anaël Closson | b8c5fb5 | 2017-03-14 15:43:18 +0100 | [diff] [blame] | 1527 | node: '{build-node}' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1528 | |
| 1529 | properties: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1530 | - infra-properties: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1531 | build-days-to-keep: '{build-days-to-keep}' |
| 1532 | |
| 1533 | parameters: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1534 | - infra-parameters: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1535 | project: '{project}' |
| 1536 | branch: '{branch}' |
| 1537 | refspec: 'refs/heads/{branch}' |
| 1538 | artifacts: '{archive-artifacts}' |
| 1539 | - maven-exec: |
| 1540 | maven-version: '{maven-version}' |
| 1541 | |
| 1542 | scm: |
| 1543 | - gerrit-trigger-scm: |
| 1544 | refspec: '' |
| 1545 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1546 | submodule-recursive: '{submodule-recursive}' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1547 | |
| 1548 | wrappers: |
Andrew Grimberg | 4307a1c | 2017-03-16 13:00:00 -0700 | [diff] [blame] | 1549 | - infra-wrappers: |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1550 | build-timeout: '{build-timeout}' |
| 1551 | |
| 1552 | triggers: |
| 1553 | - trigger-on-build-success: |
| 1554 | job-name: '{trigger-job}' |
| 1555 | |
| 1556 | builders: |
| 1557 | - provide-maven-settings: |
| 1558 | global-settings-file: 'global-settings' |
| 1559 | settings-file: '{mvn-settings}' |
Anaël Closson | 0916684 | 2017-03-15 11:19:40 +0100 | [diff] [blame] | 1560 | - inject: |
| 1561 | properties-file: version.properties |
| 1562 | - maven-target: |
| 1563 | maven-version: '{maven-version}' |
Christopher Lott (cl778h) | 253e61f | 2017-07-10 15:44:50 -0400 | [diff] [blame] | 1564 | goals: 'versions:set versions:update-child-modules versions:commit -B' |
Anaël Closson | 0916684 | 2017-03-15 11:19:40 +0100 | [diff] [blame] | 1565 | properties: |
| 1566 | - 'newVersion=${{release_version}}' |
| 1567 | settings: '{mvn-settings}' |
| 1568 | settings-type: cfp |
| 1569 | global-settings: 'global-settings' |
| 1570 | global-settings-type: cfp |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1571 | |
| 1572 | - maven-target: |
| 1573 | maven-version: '{maven-version}' |
Anaël Closson | 03222ed | 2017-03-13 16:37:09 +0100 | [diff] [blame] | 1574 | pom: '{site-pom}' |
Anaël Closson | b7c8aa3 | 2017-03-14 15:50:20 +0100 | [diff] [blame] | 1575 | goals: 'clean site:site site:stage-deploy' |
Anaël Closson | adcb39d | 2017-03-10 15:39:09 +0100 | [diff] [blame] | 1576 | settings: '{mvn-settings}' |
| 1577 | settings-type: cfp |
| 1578 | global-settings: 'global-settings' |
| 1579 | global-settings-type: cfp |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1580 | |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1581 | publishers: |
| 1582 | - infra-shiplogs: |
| 1583 | maven-version: '{maven-version}' |
| 1584 | |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1585 | - job-template: |
| 1586 | # Job template for Java merge jobs |
| 1587 | # |
| 1588 | # The purpose of this job template is to run "maven clean deploy" for |
| 1589 | # projects using this template. |
| 1590 | # |
| 1591 | # Required Variables: |
| 1592 | # branch: git branch (eg. stable/lithium or master) |
| 1593 | name: '{project-name}-{stream}-sdc-merge-java' |
| 1594 | |
| 1595 | project-type: freestyle |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1596 | node: 'ubuntu1604-docker-8c-8g' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1597 | |
| 1598 | properties: |
| 1599 | - infra-properties: |
| 1600 | build-days-to-keep: '{build-days-to-keep}' |
| 1601 | |
| 1602 | parameters: |
| 1603 | - infra-parameters: |
| 1604 | project: '{project}' |
| 1605 | branch: '{branch}' |
| 1606 | refspec: 'refs/heads/{branch}' |
| 1607 | artifacts: '{archive-artifacts}' |
| 1608 | - maven-exec: |
| 1609 | maven-version: '{maven-version}' |
| 1610 | |
| 1611 | scm: |
| 1612 | - gerrit-trigger-scm: |
| 1613 | refspec: '' |
| 1614 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1615 | submodule-recursive: '{submodule-recursive}' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1616 | |
| 1617 | wrappers: |
| 1618 | - infra-wrappers: |
| 1619 | build-timeout: '{build-timeout}' |
| 1620 | |
| 1621 | triggers: |
| 1622 | - gerrit-trigger-patch-merged: |
| 1623 | server: '{server-name}' |
| 1624 | project: '{project}' |
| 1625 | branch: '{branch}' |
| 1626 | files: '**' |
| 1627 | |
| 1628 | builders: |
| 1629 | - provide-maven-settings: |
| 1630 | global-settings-file: 'global-settings' |
| 1631 | settings-file: '{mvn-settings}' |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1632 | |
| 1633 | - docker-login |
| 1634 | |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1635 | - maven-docker-push-daily: |
ig6133 | 9fdb9d2 | 2017-04-03 17:47:19 +0300 | [diff] [blame] | 1636 | maven-version: '{maven-version}' |
ig6133 | cb3f823 | 2017-04-05 14:22:42 +0300 | [diff] [blame] | 1637 | mvn-settings: '{mvn-settings}' |
| 1638 | pom: '{docker-pom}' |
| 1639 | # use default as mvn-profile if profile is not needed |
| 1640 | mvn-profile: '{mvn-profile}' |
Andrew Grimberg | 4ecb8f2 | 2017-04-06 13:57:46 -0700 | [diff] [blame] | 1641 | |
| 1642 | publishers: |
| 1643 | - infra-shiplogs: |
| 1644 | maven-version: '{maven-version}' |
Venkata Harish K Kajur | 2bf22a0 | 2017-05-15 16:22:55 -0400 | [diff] [blame] | 1645 | |
| 1646 | - job-template: |
| 1647 | name: '{project-name}-{stream}-aai-docker-java-version-daily' |
| 1648 | project-type: freestyle |
| 1649 | node: 'ubuntu1604-docker-8c-8g' |
| 1650 | |
| 1651 | properties: |
| 1652 | - infra-properties: |
| 1653 | build-days-to-keep: '{build-days-to-keep}' |
| 1654 | |
| 1655 | parameters: |
| 1656 | - infra-parameters: |
| 1657 | project: '{project}' |
| 1658 | branch: '{branch}' |
| 1659 | refspec: 'refs/heads/{branch}' |
| 1660 | artifacts: '{archive-artifacts}' |
| 1661 | - maven-exec: |
| 1662 | maven-version: '{maven-version}' |
| 1663 | |
| 1664 | scm: |
| 1665 | - gerrit-trigger-scm: |
| 1666 | refspec: '' |
| 1667 | choosing-strategy: 'default' |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 1668 | submodule-recursive: '{submodule-recursive}' |
Venkata Harish K Kajur | 2bf22a0 | 2017-05-15 16:22:55 -0400 | [diff] [blame] | 1669 | |
| 1670 | wrappers: |
| 1671 | - infra-wrappers: |
| 1672 | build-timeout: '{build-timeout}' |
| 1673 | |
| 1674 | triggers: |
| 1675 | # 12 AM UTC |
| 1676 | - timed: 'H 12 * * *' |
| 1677 | - gerrit-trigger-release-manually: |
| 1678 | server: '{server-name}' |
| 1679 | project: '{project}' |
| 1680 | branch: '{branch}' |
| 1681 | |
| 1682 | builders: |
| 1683 | |
| 1684 | - provide-maven-settings: |
| 1685 | global-settings-file: 'global-settings' |
| 1686 | settings-file: '{mvn-settings}' |
| 1687 | |
| 1688 | - docker-login |
| 1689 | |
| 1690 | - maven-target: |
| 1691 | maven-version: '{maven-version}' |
| 1692 | pom: 'pom.xml' |
| 1693 | goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn' |
| 1694 | settings: '{mvn-settings}' |
| 1695 | settings-type: cfp |
| 1696 | global-settings: 'global-settings' |
| 1697 | global-settings-type: cfp |
| 1698 | |
| 1699 | - maven-target: |
| 1700 | maven-version: '{maven-version}' |
| 1701 | pom: '{pom}' |
| 1702 | goals: '{mvn-goals}' |
| 1703 | settings: '{mvn-settings}' |
| 1704 | settings-type: cfp |
| 1705 | global-settings: 'global-settings' |
| 1706 | global-settings-type: cfp |
| 1707 | properties: |
| 1708 | - maven.test.skip=true |
| 1709 | - docker.pull.registry=nexus3.onap.org:10001 |
| 1710 | - docker.push.registry=nexus3.onap.org:10003 |
| 1711 | |
| 1712 | publishers: |
| 1713 | - infra-shiplogs: |
| 1714 | maven-version: '{maven-version}' |
| 1715 | |