blob: 5a4666afd0d95764d410b60b3b2c1d08235a2302 [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:
65 patchset:
66 - created:
67 excludeDrafts: false
68 excludeTrivialRebase: false
69 excludeNoCodeChange: false
70 comment:
71 - addedContains:
72 commentAddedCommentContains: '(recheck|reverify)'
73 param:
74 TEST_MODELS:
75 type: string
76 default: "{{clusters}}"