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 |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 12 | - buildname: oc311 |
| 13 | os: ubuntu |
| 14 | dist: trusty |
| 15 | branch: R3.1.1.x |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 16 | - buildname: oc32 |
| 17 | os: ubuntu |
| 18 | dist: trusty |
| 19 | branch: R3.2 |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 20 | template: |
| 21 | discard: |
| 22 | build: |
| 23 | keep_num: 5 |
| 24 | artifact: |
| 25 | keep_num: 5 |
| 26 | type: workflow-scm |
chnyda | d8e7a27 | 2017-03-28 16:26:50 +0200 | [diff] [blame] | 27 | concurrent: true |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 28 | quiet_period: 120 |
| 29 | scm: |
| 30 | type: git |
| 31 | url: "https://github.com/chnyda/contrail-unittest" |
chnyda | d3ddac6 | 2017-03-22 09:49:16 +0100 | [diff] [blame] | 32 | param: |
| 33 | SOURCE_URL: |
| 34 | type: string |
| 35 | default: "${_param:jenkins_gerrit_url}/contrail" |
| 36 | SOURCE_BRANCH: |
| 37 | type: string |
| 38 | default: "{{branch}}" |
| 39 | SOURCE_CREDENTIALS: |
| 40 | type: string |
| 41 | default: "gerrit" |
| 42 | KEEP_REPOS: |
| 43 | type: boolean |
| 44 | default: 'false' |
| 45 | description: "Don't cleanup on failure" |
| 46 | OS: |
| 47 | type: string |
| 48 | default: "{{os}}" |
| 49 | DIST: |
| 50 | type: string |
| 51 | default: "{{dist}}" |
| 52 | ARCH: |
| 53 | type: string |
| 54 | default: "amd64" |
chnyda | 9cacd51 | 2017-03-28 16:03:41 +0200 | [diff] [blame] | 55 | trigger: |
| 56 | gerrit: |
| 57 | project: |
| 58 | contrail/contrail-controller: |
| 59 | branches: |
| 60 | - "{{branch}}" |
| 61 | contrail/contrail-vrouter: |
| 62 | branches: |
| 63 | - "{{branch}}" |
| 64 | event: |
Jakub Josef | f86762c | 2017-06-14 17:41:57 +0200 | [diff] [blame] | 65 | comment: |
chnyda | 9cacd51 | 2017-03-28 16:03:41 +0200 | [diff] [blame] | 66 | - addedContains: |
Jakub Josef | 5cf51ad | 2017-06-23 14:04:17 +0200 | [diff] [blame^] | 67 | commentAddedCommentContains: '^(?s:Patch Set \d+:\s*(test|recheck|reverify)\s*)$' |
chnyda | 9cacd51 | 2017-03-28 16:03:41 +0200 | [diff] [blame] | 68 | param: |
| 69 | TEST_MODELS: |
| 70 | type: string |
Jakub Josef | f86762c | 2017-06-14 17:41:57 +0200 | [diff] [blame] | 71 | default: "{{clusters}}" |