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