chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job_template: |
| 5 | test-opencontrail: |
| 6 | name: test-opencontrail-{{buildname}}-{{os}}-{{dist}} |
| 7 | jobs: |
| 8 | - buildname: oc31 |
| 9 | os: ubuntu |
| 10 | dist: trusty |
| 11 | branch: R3.1 |
| 12 | - buildname: oc31 |
| 13 | os: ubuntu |
chnyda | c5f5112 | 2017-03-22 14:38:27 +0100 | [diff] [blame] | 14 | dist: xenial |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 15 | branch: R3.1 |
| 16 | - buildname: oc311 |
| 17 | os: ubuntu |
| 18 | dist: trusty |
| 19 | branch: R3.1.1.x |
| 20 | - buildname: oc311 |
| 21 | os: ubuntu |
chnyda | c5f5112 | 2017-03-22 14:38:27 +0100 | [diff] [blame] | 22 | dist: xenial |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 23 | branch: R3.1.1.x |
| 24 | - buildname: oc32 |
| 25 | os: ubuntu |
| 26 | dist: trusty |
| 27 | branch: R3.2 |
| 28 | - buildname: oc32 |
| 29 | os: ubuntu |
chnyda | c5f5112 | 2017-03-22 14:38:27 +0100 | [diff] [blame] | 30 | dist: xenial |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 31 | branch: R3.2 |
| 32 | template: |
| 33 | discard: |
| 34 | build: |
| 35 | keep_num: 5 |
| 36 | artifact: |
| 37 | keep_num: 5 |
| 38 | type: workflow-scm |
chnyda | d8e7a27 | 2017-03-28 16:26:50 +0200 | [diff] [blame^] | 39 | concurrent: true |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 40 | quiet_period: 120 |
| 41 | scm: |
| 42 | type: git |
| 43 | url: "https://github.com/chnyda/contrail-unittest" |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 44 | param: |
| 45 | SOURCE_URL: |
| 46 | type: string |
| 47 | default: "${_param:jenkins_gerrit_url}/contrail" |
| 48 | SOURCE_BRANCH: |
| 49 | type: string |
| 50 | default: "{{branch}}" |
| 51 | SOURCE_CREDENTIALS: |
| 52 | type: string |
| 53 | default: "gerrit" |
| 54 | KEEP_REPOS: |
| 55 | type: boolean |
| 56 | default: 'false' |
| 57 | description: "Don't cleanup on failure" |
| 58 | OS: |
| 59 | type: string |
| 60 | default: "{{os}}" |
| 61 | DIST: |
| 62 | type: string |
| 63 | default: "{{dist}}" |
| 64 | ARCH: |
| 65 | type: string |
| 66 | default: "amd64" |
chnyda | 9cacd51 | 2017-03-28 16:03:41 +0200 | [diff] [blame] | 67 | trigger: |
| 68 | gerrit: |
| 69 | project: |
| 70 | contrail/contrail-controller: |
| 71 | branches: |
| 72 | - "{{branch}}" |
| 73 | contrail/contrail-vrouter: |
| 74 | branches: |
| 75 | - "{{branch}}" |
| 76 | event: |
| 77 | patchset: |
| 78 | - created: |
| 79 | excludeDrafts: false |
| 80 | excludeTrivialRebase: false |
| 81 | excludeNoCodeChange: false |
| 82 | comment: |
| 83 | - addedContains: |
| 84 | commentAddedCommentContains: '(recheck|reverify)' |
| 85 | param: |
| 86 | TEST_MODELS: |
| 87 | type: string |
| 88 | default: "{{clusters}}" |