Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 1 | --- |
| 2 | # vim: sw=2 ts=2 sts=2 et : |
| 3 | |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 4 | |
| 5 | - job-template: |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 6 | # Job template for verifying a submission. triggered on |
| 7 | # gerrit-trigger-patch-submitted, does scm, mvn with passed in goals, |
| 8 | # then run script |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 9 | # |
| 10 | # Required Variables: |
| 11 | # branch: git branch |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 12 | # script: build script to execute |
| 13 | # mvn-settings: settings file for this specific job |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 14 | # mvn-goals: space separated list of maven build goals (e.g. |
| 15 | # clean, install etc, --version for noop) |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 16 | name: '{project-name}-{stream}-verify-scm-mvn-script' |
| 17 | |
| 18 | project-type: freestyle |
| 19 | concurrent: true |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 20 | node: 'ubuntu1604-docker-8c-8g' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 21 | |
| 22 | properties: |
| 23 | - ecomp-infra-properties: |
| 24 | build-days-to-keep: '{build-days-to-keep}' |
| 25 | |
| 26 | parameters: |
| 27 | - ecomp-infra-parameters: |
| 28 | project: '{project}' |
| 29 | branch: '{branch}' |
| 30 | refspec: 'refs/heads/{branch}' |
| 31 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 32 | - maven-exec: |
| 33 | maven-version: 'mvn33' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 34 | |
| 35 | scm: |
| 36 | - gerrit-trigger-scm: |
| 37 | refspec: '$GERRIT_REFSPEC' |
| 38 | choosing-strategy: 'gerrit' |
| 39 | |
| 40 | wrappers: |
| 41 | - ecomp-infra-wrappers: |
| 42 | build-timeout: '{build-timeout}' |
| 43 | |
| 44 | triggers: |
| 45 | - gerrit-trigger-patch-submitted: |
| 46 | server: '{server-name}' |
| 47 | project: '{project}' |
| 48 | branch: '{branch}' |
| 49 | files: '**' |
| 50 | |
| 51 | builders: |
| 52 | - provide-maven-settings: |
| 53 | global-settings-file: 'global-settings' |
| 54 | settings-file: '{mvn-settings}' |
| 55 | - maven-target: |
| 56 | maven-version: 'mvn33' |
| 57 | goals: '{mvn-goals}' |
| 58 | settings: '{mvn-settings}' |
| 59 | settings-type: cfp |
| 60 | global-settings: 'global-settings' |
| 61 | global-settings-type: cfp |
| 62 | - docker-login |
| 63 | - shell: '{script}' |
| 64 | |
| 65 | |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 66 | - job-template: |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 67 | # Job template for merging a submission. triggered on |
| 68 | # gerrit-trigger-patch-merged, does scm, mvn with passed-in goals, then |
| 69 | # run script |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 70 | # Required Variables: |
| 71 | # branch: git branch |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 72 | # script: build script to execute |
| 73 | # mvn-settings: settings file for this specific job |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 74 | # mvn-goals: space separated list of maven build goals (--version |
| 75 | # for noop, clean deploy for deploy [snapshot]) |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 76 | name: '{project-name}-{stream}-merge-scm-mvn-script' |
| 77 | |
| 78 | project-type: freestyle |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 79 | node: 'ubuntu1604-docker-8c-8g' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 80 | |
| 81 | properties: |
| 82 | - ecomp-infra-properties: |
| 83 | build-days-to-keep: '{build-days-to-keep}' |
| 84 | |
| 85 | parameters: |
| 86 | - ecomp-infra-parameters: |
| 87 | project: '{project}' |
| 88 | branch: '{branch}' |
| 89 | refspec: 'refs/heads/{branch}' |
| 90 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 91 | - maven-exec: |
| 92 | maven-version: 'mvn33' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 93 | |
| 94 | scm: |
| 95 | - gerrit-trigger-scm: |
| 96 | refspec: '' |
| 97 | choosing-strategy: 'default' |
| 98 | |
| 99 | wrappers: |
| 100 | - ecomp-infra-wrappers: |
| 101 | build-timeout: '{build-timeout}' |
| 102 | |
| 103 | triggers: |
| 104 | - gerrit-trigger-patch-merged: |
| 105 | server: '{server-name}' |
| 106 | project: '{project}' |
| 107 | branch: '{branch}' |
| 108 | files: '**' |
| 109 | |
| 110 | builders: |
| 111 | - provide-maven-settings: |
| 112 | global-settings-file: 'global-settings' |
| 113 | settings-file: '{mvn-settings}' |
| 114 | - maven-target: |
| 115 | maven-version: 'mvn33' |
| 116 | goals: '{mvn-goals}' |
| 117 | settings: '{mvn-settings}' |
| 118 | settings-type: cfp |
| 119 | global-settings: 'global-settings' |
| 120 | global-settings-type: cfp |
| 121 | - docker-login |
| 122 | - shell: '{script}' |
| 123 | |
| 124 | |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 125 | - job-template: |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 126 | # Job template for daily-release a submission. triggered on timer, does |
| 127 | # scm mvn with passed-in goals, then run script |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 128 | # |
| 129 | # Required Variables: |
| 130 | # branch: git branch |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 131 | # script: build script to execute |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 132 | # mvn-goals-versioning: space separated list of maven build goals |
| 133 | # (--version for no op, |
| 134 | # or versions:set versions:update-child-modules versions:commit) |
| 135 | # mvn-goals: space separated list of maven build goals (--version for |
| 136 | # noop, or clean deploy) |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 137 | name: '{project-name}-{stream}-daily-release-scm-mvn-script' |
| 138 | |
| 139 | project-type: freestyle |
| 140 | concurrent: true |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 141 | node: 'ubuntu1604-docker-8c-8g' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 142 | |
| 143 | properties: |
| 144 | - ecomp-infra-properties: |
| 145 | build-days-to-keep: '{build-days-to-keep}' |
| 146 | |
| 147 | parameters: |
| 148 | - ecomp-infra-parameters: |
| 149 | project: '{project}' |
| 150 | branch: '{branch}' |
| 151 | refspec: 'refs/heads/{branch}' |
| 152 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 153 | - maven-exec: |
| 154 | maven-version: 'mvn33' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 155 | |
| 156 | scm: |
| 157 | - gerrit-trigger-scm: |
| 158 | refspec: '' |
| 159 | choosing-strategy: 'default' |
| 160 | |
| 161 | wrappers: |
| 162 | - ecomp-infra-wrappers: |
| 163 | build-timeout: '{build-timeout}' |
| 164 | |
| 165 | triggers: |
| 166 | # 11 AM UTC |
| 167 | - timed: 'H 11 * * *' |
Lisa Revel | c45cfbf | 2017-02-23 17:31:48 +0000 | [diff] [blame^] | 168 | - gerrit-trigger-release-manually: |
| 169 | server: '{server-name}' |
| 170 | project: '{project}' |
| 171 | branch: '{branch}' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 172 | |
| 173 | builders: |
| 174 | - provide-maven-settings: |
| 175 | global-settings-file: 'global-settings' |
| 176 | settings-file: '{mvn-settings}' |
| 177 | - inject: |
| 178 | properties-file: version.properties |
| 179 | - maven-target: |
| 180 | maven-version: 'mvn33' |
| 181 | goals: '{mvn-goals-versioning}' |
| 182 | properties: |
| 183 | - 'newVersion=${{release_version}}' |
| 184 | settings: '{mvn-settings}' |
| 185 | settings-type: cfp |
| 186 | global-settings: 'global-settings' |
| 187 | global-settings-type: cfp |
| 188 | |
| 189 | - maven-target: |
| 190 | maven-version: 'mvn33' |
| 191 | goals: '{mvn-goals}' |
| 192 | properties: |
| 193 | - '{maven-deploy-properties}' |
| 194 | settings: '{mvn-settings}' |
| 195 | settings-type: cfp |
| 196 | global-settings: 'global-settings' |
| 197 | global-settings-type: cfp |
| 198 | - docker-login |
| 199 | - shell: '{script}' |
| 200 | |
| 201 | |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 202 | - job-template: |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 203 | # Job template for verifying a submission. triggered on |
| 204 | # gerrit-trigger-patch-submitted, |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 205 | # does scm 2 repos, mvn with passed-in goals, then run script |
| 206 | # |
| 207 | # Required Variables: |
| 208 | # branch: git branch |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 209 | # script: build script to execute |
| 210 | # extra-project: extra gerrit project to checkout |
| 211 | # extra-refspec: refspec for the extra project |
| 212 | # extra-branch: branch to checkout for the extra project |
| 213 | # checkout-dir: directory to checkout the extra project to |
| 214 | # DO NOT SET THIS TO anything that translates to |
| 215 | # $WORKSPACE as it will destroy the initial |
| 216 | # project checkout |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 217 | # mvn-goals: space separated list of maven build goals (e.g. |
| 218 | # clean, install etc, --version for noop) |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 219 | |
| 220 | name: '{project-name}-{stream}-verify-2scm-mvn-script' |
| 221 | |
| 222 | project-type: freestyle |
| 223 | concurrent: true |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 224 | node: 'ubuntu1604-docker-8c-8g' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 225 | |
| 226 | properties: |
| 227 | - ecomp-infra-properties: |
| 228 | build-days-to-keep: '{build-days-to-keep}' |
| 229 | |
| 230 | parameters: |
| 231 | - ecomp-infra-parameters: |
| 232 | project: '{project}' |
| 233 | branch: '{branch}' |
| 234 | refspec: 'refs/heads/{branch}' |
| 235 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 236 | - maven-exec: |
| 237 | maven-version: 'mvn33' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 238 | |
| 239 | scm: |
| 240 | - gerrit-trigger-scm: |
| 241 | refspec: '$GERRIT_REFSPEC' |
| 242 | choosing-strategy: 'gerrit' |
| 243 | - git-extra-project: |
| 244 | project: '{extra-project}' |
| 245 | refspec: '{extra-refspec}' |
| 246 | branch: '{extra-branch}' |
| 247 | checkout-dir: '{checkout-dir}' |
| 248 | |
| 249 | wrappers: |
| 250 | - ecomp-infra-wrappers: |
| 251 | build-timeout: '{build-timeout}' |
| 252 | |
| 253 | triggers: |
| 254 | - gerrit-trigger-patch-submitted: |
| 255 | server: '{server-name}' |
| 256 | project: '{project}' |
| 257 | branch: '{branch}' |
| 258 | files: '**' |
| 259 | |
| 260 | builders: |
| 261 | - provide-maven-settings: |
| 262 | global-settings-file: 'global-settings' |
| 263 | settings-file: '{mvn-settings}' |
| 264 | - maven-target: |
| 265 | maven-version: 'mvn33' |
| 266 | goals: '{mvn-goals}' |
| 267 | settings: '{mvn-settings}' |
| 268 | settings-type: cfp |
| 269 | global-settings: 'global-settings' |
| 270 | global-settings-type: cfp |
| 271 | - docker-login |
| 272 | - shell: '{script}' |
| 273 | |
| 274 | |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 275 | - job-template: |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 276 | # Job template for merged submission. triggered on |
| 277 | # gerrit-trigger-patch-merged,does scm of 2 repos, mvn with passed in |
| 278 | # goals, then run script |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 279 | # |
| 280 | # Required Variables: |
| 281 | # branch: git branch |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 282 | # script: build script to execute |
| 283 | # extra-project: extra gerrit project to checkout |
| 284 | # extra-refspec: refspec for the extra project |
| 285 | # extra-branch: branch to checkout for the extra project |
| 286 | # checkout-dir: directory to checkout the extra project to |
| 287 | # DO NOT SET THIS TO anything that translates to |
| 288 | # $WORKSPACE as it will destroy the initial |
| 289 | # project checkout |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 290 | # mvn-goals: space separated list of maven build goals (--version |
| 291 | # for noop, clean deploy for mvn project) |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 292 | |
| 293 | name: '{project-name}-{stream}-merge-2scm-mvn-script' |
| 294 | |
| 295 | project-type: freestyle |
| 296 | concurrent: true |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 297 | node: 'ubuntu1604-docker-8c-8g' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 298 | |
| 299 | properties: |
| 300 | - ecomp-infra-properties: |
| 301 | build-days-to-keep: '{build-days-to-keep}' |
| 302 | |
| 303 | parameters: |
| 304 | - ecomp-infra-parameters: |
| 305 | project: '{project}' |
| 306 | branch: '{branch}' |
| 307 | refspec: 'refs/heads/{branch}' |
| 308 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 309 | - maven-exec: |
| 310 | maven-version: 'mvn33' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 311 | |
| 312 | scm: |
| 313 | - gerrit-trigger-scm: |
| 314 | refspec: '' |
| 315 | choosing-strategy: 'default' |
| 316 | - git-extra-project: |
| 317 | project: '{extra-project}' |
| 318 | refspec: '{extra-refspec}' |
| 319 | branch: '{extra-branch}' |
| 320 | checkout-dir: '{checkout-dir}' |
| 321 | |
| 322 | wrappers: |
| 323 | - ecomp-infra-wrappers: |
| 324 | build-timeout: '{build-timeout}' |
| 325 | |
| 326 | triggers: |
| 327 | - gerrit-trigger-patch-merged: |
| 328 | server: '{server-name}' |
| 329 | project: '{project}' |
| 330 | branch: '{branch}' |
| 331 | files: '**' |
| 332 | |
| 333 | builders: |
| 334 | - provide-maven-settings: |
| 335 | global-settings-file: 'global-settings' |
| 336 | settings-file: '{mvn-settings}' |
| 337 | - maven-target: |
| 338 | maven-version: 'mvn33' |
| 339 | goals: '{mvn-goals}' |
| 340 | settings: '{mvn-settings}' |
| 341 | settings-type: cfp |
| 342 | global-settings: 'global-settings' |
| 343 | global-settings-type: cfp |
| 344 | - docker-login |
| 345 | - shell: '{script}' |
| 346 | |
| 347 | |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 348 | - job-template: |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 349 | # Job template for merged submission. triggered on |
| 350 | # gerrit-trigger-patch-merged, does scm x2, mvn with passed-in goals, |
| 351 | # then run script |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 352 | # |
| 353 | # Required Variables: |
| 354 | # branch: git branch |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 355 | # script: build script to execute |
| 356 | # extra-project: extra gerrit project to checkout |
| 357 | # extra-refspec: refspec for the extra project |
| 358 | # extra-branch: branch to checkout for the extra project |
| 359 | # checkout-dir: directory to checkout the extra project to |
| 360 | # DO NOT SET THIS TO anything that translates to |
| 361 | # $WORKSPACE as it will destroy the initial |
| 362 | # project checkout |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 363 | # mvn-goals: space separated list of maven build goals (--version |
| 364 | # for noop, clean deploy for mvn project) |
| 365 | # mvn-goals-versioning: space separated list of maven build goals |
| 366 | # (--version for no op, clean deploy for mvn project) |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 367 | |
| 368 | name: '{project-name}-{stream}-daily-release-2scm-mvn-script' |
| 369 | |
| 370 | project-type: freestyle |
lj1412 | d070484 | 2017-02-18 21:46:11 +0000 | [diff] [blame] | 371 | node: 'ubuntu1604-docker-8c-8g' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 372 | |
| 373 | properties: |
| 374 | - ecomp-infra-properties: |
| 375 | build-days-to-keep: '{build-days-to-keep}' |
| 376 | |
| 377 | parameters: |
| 378 | - ecomp-infra-parameters: |
| 379 | project: '{project}' |
| 380 | branch: '{branch}' |
| 381 | refspec: 'refs/heads/{branch}' |
| 382 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 383 | - maven-exec: |
| 384 | maven-version: 'mvn33' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 385 | |
| 386 | scm: |
| 387 | - gerrit-trigger-scm: |
| 388 | refspec: '' |
| 389 | choosing-strategy: 'default' |
| 390 | - git-extra-project: |
| 391 | project: '{extra-project}' |
| 392 | refspec: '{extra-refspec}' |
| 393 | branch: '{extra-branch}' |
| 394 | checkout-dir: '{checkout-dir}' |
| 395 | |
| 396 | wrappers: |
| 397 | - ecomp-infra-wrappers: |
| 398 | build-timeout: '{build-timeout}' |
| 399 | |
| 400 | triggers: |
| 401 | - timed: 'H 11 * * *' |
Lisa Revel | c45cfbf | 2017-02-23 17:31:48 +0000 | [diff] [blame^] | 402 | - gerrit-trigger-release-manually: |
| 403 | server: '{server-name}' |
| 404 | project: '{project}' |
| 405 | branch: '{branch}' |
lj1412 | f75ed99 | 2017-02-17 22:21:06 +0000 | [diff] [blame] | 406 | |
| 407 | builders: |
| 408 | - provide-maven-settings: |
| 409 | global-settings-file: 'global-settings' |
| 410 | settings-file: '{mvn-settings}' |
| 411 | - inject: |
| 412 | properties-file: version.properties |
| 413 | - maven-target: |
| 414 | maven-version: 'mvn33' |
| 415 | goals: '{mvn-goals-versioning}' |
| 416 | properties: |
| 417 | - 'newVersion=${{release_version}}' |
| 418 | settings: '{mvn-settings}' |
| 419 | settings-type: cfp |
| 420 | global-settings: 'global-settings' |
| 421 | global-settings-type: cfp |
| 422 | |
| 423 | - maven-target: |
| 424 | maven-version: 'mvn33' |
| 425 | goals: '{mvn-goals}' |
| 426 | settings: '{mvn-settings}' |
| 427 | settings-type: cfp |
| 428 | global-settings: 'global-settings' |
| 429 | global-settings-type: cfp |
| 430 | - docker-login |
| 431 | - shell: '{script}' |
| 432 | |
| 433 | |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 434 | - job-template: |
| 435 | # Job template for basic scm and script trigger |
| 436 | # |
| 437 | # Required Variables: |
| 438 | # branch: git branch |
| 439 | # build-node: what build node to run on |
| 440 | # script: build script to execute |
| 441 | |
| 442 | name: '{project-name}-{stream}-verify-script' |
| 443 | |
| 444 | project-type: freestyle |
| 445 | concurrent: true |
| 446 | node: '{build-node}' |
| 447 | |
| 448 | properties: |
| 449 | - ecomp-infra-properties: |
| 450 | build-days-to-keep: '{build-days-to-keep}' |
| 451 | |
| 452 | parameters: |
| 453 | - ecomp-infra-parameters: |
| 454 | project: '{project}' |
| 455 | branch: '{branch}' |
| 456 | refspec: 'refs/heads/{branch}' |
| 457 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 458 | - maven-exec: |
| 459 | maven-version: 'mvn33' |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 460 | |
| 461 | scm: |
| 462 | - gerrit-trigger-scm: |
| 463 | refspec: '$GERRIT_REFSPEC' |
| 464 | choosing-strategy: 'gerrit' |
| 465 | |
| 466 | wrappers: |
| 467 | - ecomp-infra-wrappers: |
| 468 | build-timeout: '{build-timeout}' |
| 469 | |
| 470 | triggers: |
| 471 | - gerrit-trigger-patch-submitted: |
| 472 | server: '{server-name}' |
| 473 | project: '{project}' |
| 474 | branch: '{branch}' |
| 475 | files: '**' |
| 476 | |
| 477 | builders: |
| 478 | - provide-maven-settings: |
| 479 | global-settings-file: 'global-settings' |
| 480 | settings-file: '{mvn-settings}' |
| 481 | # make sure maven gets installed / setup |
| 482 | - maven-target: |
| 483 | maven-version: 'mvn33' |
| 484 | goals: '--version' |
| 485 | settings: '{mvn-settings}' |
| 486 | settings-type: cfp |
| 487 | global-settings: 'global-settings' |
| 488 | global-settings-type: cfp |
| 489 | - shell: '{script}' |
| 490 | |
| 491 | # publishers: |
| 492 | # - ecomp-infra-shiplogs: |
| 493 | # maven-version: 'mvn33' |
| 494 | |
| 495 | - job-template: |
| 496 | # Job template for 2 scm and script trigger |
| 497 | # |
| 498 | # Required Variables: |
| 499 | # branch: git branch |
| 500 | # build-node: what build node to run on |
| 501 | # script: build script to execute |
| 502 | # extra-project: extra gerrit project to checkout |
| 503 | # extra-refspec: refspec for the extra project |
| 504 | # extra-branch: branch to checkout for the extra project |
| 505 | # checkout-dir: directory to checkout the extra project to |
| 506 | # DO NOT SET THIS TO anything that translates to |
| 507 | # $WORKSPACE as it will destroy the initial |
| 508 | # project checkout |
| 509 | |
Andrew Grimberg | ec9a1bf | 2017-02-16 09:56:57 -0800 | [diff] [blame] | 510 | name: '{project-name}-{stream}-two-scm-verify-script' |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 511 | |
| 512 | project-type: freestyle |
| 513 | concurrent: true |
| 514 | node: '{build-node}' |
| 515 | |
| 516 | properties: |
| 517 | - ecomp-infra-properties: |
| 518 | build-days-to-keep: '{build-days-to-keep}' |
| 519 | |
| 520 | parameters: |
| 521 | - ecomp-infra-parameters: |
| 522 | project: '{project}' |
| 523 | branch: '{branch}' |
| 524 | refspec: 'refs/heads/{branch}' |
| 525 | artifacts: '{archive-artifacts}' |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 526 | - maven-exec: |
| 527 | maven-version: 'mvn33' |
Andrew Grimberg | 1ac7c2d | 2017-02-08 12:40:56 -0800 | [diff] [blame] | 528 | |
| 529 | scm: |
| 530 | - gerrit-trigger-scm: |
| 531 | refspec: '$GERRIT_REFSPEC' |
| 532 | choosing-strategy: 'gerrit' |
| 533 | - git-extra-project: |
| 534 | project: '{extra-project}' |
| 535 | refspec: '{extra-refspec}' |
| 536 | branch: '{extra-branch}' |
| 537 | checkout-dir: '{checkout-dir}' |
| 538 | |
| 539 | wrappers: |
| 540 | - ecomp-infra-wrappers: |
| 541 | build-timeout: '{build-timeout}' |
| 542 | |
| 543 | triggers: |
| 544 | - gerrit-trigger-patch-submitted: |
| 545 | server: '{server-name}' |
| 546 | project: '{project}' |
| 547 | branch: '{branch}' |
| 548 | files: '**' |
| 549 | |
| 550 | builders: |
| 551 | - provide-maven-settings: |
| 552 | global-settings-file: 'global-settings' |
| 553 | settings-file: '{mvn-settings}' |
| 554 | # make sure maven gets installed / setup |
| 555 | - maven-target: |
| 556 | maven-version: 'mvn33' |
| 557 | goals: '--version' |
| 558 | settings: '{mvn-settings}' |
| 559 | settings-type: cfp |
| 560 | global-settings: 'global-settings' |
| 561 | global-settings-type: cfp |
| 562 | - shell: '{script}' |
| 563 | |
| 564 | # publishers: |
| 565 | # - ecomp-infra-shiplogs: |
| 566 | # maven-version: 'mvn33' |
talasila | 91a608b | 2017-02-16 12:46:32 -0500 | [diff] [blame] | 567 | |
| 568 | |
| 569 | - job-template: |
| 570 | # Job template for 3 scm and script trigger |
| 571 | # |
| 572 | # Required Variables: |
| 573 | # branch: git branch |
| 574 | # build-node: what build node to run on |
| 575 | # script: build script to execute |
| 576 | # extra-project1: extra gerrit project to checkout |
| 577 | # extra-refspec1: refspec for the extra project |
| 578 | # extra-branch1: branch to checkout for the extra project |
| 579 | # checkout-dir1: directory to checkout the extra project to |
| 580 | # DO NOT SET THIS TO anything that translates to |
| 581 | # $WORKSPACE as it will destroy the initial |
| 582 | # project checkout |
| 583 | # extra-project2: extra gerrit project to checkout |
| 584 | # extra-refspec2: refspec for the extra project |
| 585 | # extra-branch2: branch to checkout for the extra project |
| 586 | # checkout-dir2: directory to checkout the extra project to |
| 587 | # DO NOT SET THIS TO anything that translates to |
| 588 | # $WORKSPACE as it will destroy the initial |
| 589 | # project checkout |
| 590 | name: '{project-name}-{stream}-three-scm-verify-script' |
| 591 | |
| 592 | project-type: freestyle |
| 593 | concurrent: true |
| 594 | node: '{build-node}' |
| 595 | |
| 596 | properties: |
| 597 | - ecomp-infra-properties: |
| 598 | build-days-to-keep: '{build-days-to-keep}' |
| 599 | |
| 600 | parameters: |
| 601 | - ecomp-infra-parameters: |
| 602 | project: '{project}' |
| 603 | branch: '{branch}' |
| 604 | refspec: 'refs/heads/{branch}' |
| 605 | artifacts: '{archive-artifacts}' |
talasila | 596787c | 2017-02-19 20:47:56 -0500 | [diff] [blame] | 606 | - maven-exec: |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 607 | maven-version: 'mvn33' |
talasila | 91a608b | 2017-02-16 12:46:32 -0500 | [diff] [blame] | 608 | scm: |
| 609 | - gerrit-trigger-scm: |
| 610 | refspec: '$GERRIT_REFSPEC' |
| 611 | choosing-strategy: 'gerrit' |
| 612 | - git-extra-project: |
| 613 | project: '{extra-project1}' |
| 614 | refspec: '{extra-refspec1}' |
| 615 | branch: '{extra-branch1}' |
| 616 | checkout-dir: '{checkout-dir1}' |
| 617 | - git-extra-project: |
| 618 | project: '{extra-project2}' |
| 619 | refspec: '{extra-refspec2}' |
| 620 | branch: '{extra-branch2}' |
| 621 | checkout-dir: '{checkout-dir2}' |
| 622 | |
| 623 | wrappers: |
| 624 | - ecomp-infra-wrappers: |
| 625 | build-timeout: '{build-timeout}' |
| 626 | |
| 627 | triggers: |
| 628 | - gerrit-trigger-patch-submitted: |
| 629 | server: '{server-name}' |
| 630 | project: '{project}' |
| 631 | branch: '{branch}' |
| 632 | files: '**' |
| 633 | |
| 634 | builders: |
| 635 | - provide-maven-settings: |
| 636 | global-settings-file: 'global-settings' |
| 637 | settings-file: '{mvn-settings}' |
| 638 | # make sure maven gets installed / setup |
| 639 | - maven-target: |
| 640 | maven-version: 'mvn33' |
| 641 | goals: '--version' |
| 642 | settings: '{mvn-settings}' |
| 643 | settings-type: cfp |
| 644 | global-settings: 'global-settings' |
| 645 | global-settings-type: cfp |
| 646 | - shell: '{script}' |
| 647 | |
| 648 | # publishers: |
| 649 | # - ecomp-infra-shiplogs: |
| 650 | # maven-version: 'mvn33' |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 651 | |
| 652 | # vim: sw=2 ts=2 sts=2 et : |
| 653 | |
| 654 | - job-template: |
| 655 | # Job template for scm and script trigger - for docker merge |
| 656 | # |
| 657 | # Required Variables: |
| 658 | # branch: git branch |
| 659 | # build-node: what build node to run on |
| 660 | # script: build script to execute |
| 661 | |
| 662 | name: '{project-name}-{stream}-merge-docker-script' |
| 663 | |
| 664 | project-type: freestyle |
| 665 | concurrent: true |
| 666 | node: '{build-node}' |
| 667 | |
| 668 | properties: |
| 669 | - ecomp-infra-properties: |
| 670 | build-days-to-keep: '{build-days-to-keep}' |
| 671 | |
| 672 | parameters: |
| 673 | - ecomp-infra-parameters: |
| 674 | project: '{project}' |
| 675 | branch: '{branch}' |
| 676 | refspec: 'refs/heads/{branch}' |
| 677 | artifacts: '{archive-artifacts}' |
| 678 | - maven-exec: |
| 679 | maven-version: 'mvn33' |
| 680 | |
| 681 | scm: |
| 682 | - gerrit-trigger-scm: |
| 683 | refspec: '' |
| 684 | choosing-strategy: 'default' |
talasila | 596787c | 2017-02-19 20:47:56 -0500 | [diff] [blame] | 685 | - git-extra-project: |
| 686 | project: '{extra-project1}' |
| 687 | refspec: '{extra-refspec1}' |
| 688 | branch: '{extra-branch1}' |
| 689 | checkout-dir: '{checkout-dir1}' |
| 690 | - git-extra-project: |
| 691 | project: '{extra-project2}' |
| 692 | refspec: '{extra-refspec2}' |
| 693 | branch: '{extra-branch2}' |
| 694 | checkout-dir: '{checkout-dir2}' |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 695 | |
| 696 | wrappers: |
| 697 | - ecomp-infra-wrappers: |
| 698 | build-timeout: '{build-timeout}' |
| 699 | |
| 700 | triggers: |
talasila | 714fdfa | 2017-02-19 09:30:55 -0500 | [diff] [blame] | 701 | - gerrit-trigger-patch-merged: |
| 702 | server: '{server-name}' |
| 703 | project: '{project}' |
| 704 | branch: '{branch}' |
| 705 | files: '**' |
| 706 | |
| 707 | builders: |
| 708 | - provide-maven-settings: |
| 709 | global-settings-file: 'global-settings' |
| 710 | settings-file: '{mvn-settings}' |
| 711 | - docker-login |
| 712 | # make sure maven gets installed / setup |
| 713 | - maven-target: |
| 714 | maven-version: 'mvn33' |
| 715 | goals: '--version' |
| 716 | settings: '{mvn-settings}' |
| 717 | settings-type: cfp |
| 718 | global-settings: 'global-settings' |
| 719 | global-settings-type: cfp |
| 720 | - shell: '{script}' |
| 721 | |
| 722 | # publishers: |
| 723 | # - ecomp-infra-shiplogs: |
Andrew Grimberg | ab9451c | 2017-02-20 14:57:07 -0800 | [diff] [blame] | 724 | # maven-version: 'mvn33' |
talasila | a20f8bf | 2017-02-22 10:49:54 -0500 | [diff] [blame] | 725 | |
| 726 | - job-template: |
| 727 | # Job template for scm and script trigger - for docker daily release |
| 728 | # |
| 729 | # Required Variables: |
| 730 | # branch: git branch |
| 731 | # build-node: what build node to run on |
| 732 | # script: build script to execute |
| 733 | |
| 734 | name: '{project-name}-{stream}-release-docker-script-daily' |
| 735 | |
| 736 | project-type: freestyle |
| 737 | concurrent: true |
| 738 | node: '{build-node}' |
| 739 | |
| 740 | properties: |
| 741 | - ecomp-infra-properties: |
| 742 | build-days-to-keep: '{build-days-to-keep}' |
| 743 | |
| 744 | parameters: |
| 745 | - ecomp-infra-parameters: |
| 746 | project: '{project}' |
| 747 | branch: '{branch}' |
| 748 | refspec: 'refs/heads/{branch}' |
| 749 | artifacts: '{archive-artifacts}' |
| 750 | - maven-exec: |
| 751 | maven-version: 'mvn33' |
| 752 | |
| 753 | scm: |
| 754 | - gerrit-trigger-scm: |
| 755 | refspec: '' |
| 756 | choosing-strategy: 'default' |
| 757 | - git-extra-project: |
| 758 | project: '{extra-project1}' |
| 759 | refspec: '{extra-refspec1}' |
| 760 | branch: '{extra-branch1}' |
| 761 | checkout-dir: '{checkout-dir1}' |
| 762 | - git-extra-project: |
| 763 | project: '{extra-project2}' |
| 764 | refspec: '{extra-refspec2}' |
| 765 | branch: '{extra-branch2}' |
| 766 | checkout-dir: '{checkout-dir2}' |
| 767 | |
| 768 | wrappers: |
| 769 | - ecomp-infra-wrappers: |
| 770 | build-timeout: '{build-timeout}' |
| 771 | |
| 772 | triggers: |
| 773 | # 12 AM UTC |
| 774 | - timed: 'H 12 * * *' |
| 775 | - gerrit-trigger-release-manually: |
| 776 | server: '{server-name}' |
| 777 | project: '{project}' |
| 778 | branch: '{branch}' |
| 779 | |
| 780 | builders: |
| 781 | - provide-maven-settings: |
| 782 | global-settings-file: 'global-settings' |
| 783 | settings-file: '{mvn-settings}' |
| 784 | - docker-login |
| 785 | # make sure maven gets installed / setup |
| 786 | - maven-target: |
| 787 | maven-version: 'mvn33' |
| 788 | goals: '--version' |
| 789 | settings: '{mvn-settings}' |
| 790 | settings-type: cfp |
| 791 | global-settings: 'global-settings' |
| 792 | global-settings-type: cfp |
| 793 | - shell: '{script}' |
| 794 | |
| 795 | # publishers: |
| 796 | # - ecomp-infra-shiplogs: |
Lisa Revel | c45cfbf | 2017-02-23 17:31:48 +0000 | [diff] [blame^] | 797 | # maven-version: 'mvn33' |