blob: d26e56e18af567c18e00885388708283e7507fb9 [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
12 - buildname: oc31
13 os: ubuntu
chnydac5f51122017-03-22 14:38:27 +010014 dist: xenial
chnydad3ddac62017-03-22 09:49:16 +010015 branch: R3.1
16 - buildname: oc311
17 os: ubuntu
18 dist: trusty
19 branch: R3.1.1.x
20 - buildname: oc311
21 os: ubuntu
chnydac5f51122017-03-22 14:38:27 +010022 dist: xenial
chnydad3ddac62017-03-22 09:49:16 +010023 branch: R3.1.1.x
24 - buildname: oc32
25 os: ubuntu
26 dist: trusty
27 branch: R3.2
28 - buildname: oc32
29 os: ubuntu
chnydac5f51122017-03-22 14:38:27 +010030 dist: xenial
chnydad3ddac62017-03-22 09:49:16 +010031 branch: R3.2
32 template:
33 discard:
34 build:
35 keep_num: 5
36 artifact:
37 keep_num: 5
38 type: workflow-scm
chnydad8e7a272017-03-28 16:26:50 +020039 concurrent: true
chnydad3ddac62017-03-22 09:49:16 +010040 quiet_period: 120
41 scm:
42 type: git
43 url: "https://github.com/chnyda/contrail-unittest"
chnydad3ddac62017-03-22 09:49:16 +010044 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"
chnyda9cacd512017-03-28 16:03:41 +020067 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}}"