blob: efb09f92624c3e68d786339711f56a27bf330a8e [file] [log] [blame]
chnydad3ddac62017-03-22 09:49:16 +01001parameters:
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
chnydad3ddac62017-03-22 09:49:16 +010012 - buildname: oc311
13 os: ubuntu
14 dist: trusty
15 branch: R3.1.1.x
chnydad3ddac62017-03-22 09:49:16 +010016 - buildname: oc32
17 os: ubuntu
18 dist: trusty
19 branch: R3.2
chnydad3ddac62017-03-22 09:49:16 +010020 template:
21 discard:
22 build:
23 keep_num: 5
24 artifact:
25 keep_num: 5
26 type: workflow-scm
chnydad8e7a272017-03-28 16:26:50 +020027 concurrent: true
chnydad3ddac62017-03-22 09:49:16 +010028 quiet_period: 120
29 scm:
30 type: git
31 url: "https://github.com/chnyda/contrail-unittest"
chnydad3ddac62017-03-22 09:49:16 +010032 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"
chnyda9cacd512017-03-28 16:03:41 +020055 trigger:
56 gerrit:
57 project:
58 contrail/contrail-controller:
59 branches:
60 - "{{branch}}"
61 contrail/contrail-vrouter:
62 branches:
63 - "{{branch}}"
64 event:
Jakub Joseff86762c2017-06-14 17:41:57 +020065 comment:
chnyda9cacd512017-03-28 16:03:41 +020066 - addedContains:
Jakub Josef5cf51ad2017-06-23 14:04:17 +020067 commentAddedCommentContains: '^(?s:Patch Set \d+:\s*(test|recheck|reverify)\s*)$'
chnyda9cacd512017-03-28 16:03:41 +020068 param:
69 TEST_MODELS:
70 type: string
Jakub Joseff86762c2017-06-14 17:41:57 +020071 default: "{{clusters}}"