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