blob: 4a3b7c9727b0334aa7823be967f908896bf5123e [file] [log] [blame]
Kailash8b8de742019-07-30 08:54:51 -07001---
2# voltha 2.0 tests
3
4- project:
5 name: voltha-e2e
6
7 project-name: '{name}'
8
9 jobs:
Kailashaad71012019-08-27 10:36:53 -070010 - 'voltha-periodic-test':
11 name: 'voltha-system-tests'
12 pipeline: 'voltha-go-tests.groovy'
13
Kailash8b8de742019-07-30 08:54:51 -070014- job-template:
Kailashaad71012019-08-27 10:36:53 -070015 id: 'voltha-periodic-test'
16 name: '{name}'
Kailash8b8de742019-07-30 08:54:51 -070017
18 description: |
19 <!-- Managed by Jenkins Job Builder -->
20 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
21 E2E Validation for Voltha 2.X
22
23 properties:
24 - cord-infra-properties:
25 build-days-to-keep: '{build-days-to-keep}'
26 artifact-num-to-keep: '{artifact-num-to-keep}'
27
28 wrappers:
29 - lf-infra-wrappers:
30 build-timeout: '{build-timeout}'
31 jenkins-ssh-credential: '{jenkins-ssh-credential}'
32
33 parameters:
34 - string:
35 name: executorNode
36 default: 'ubuntu16.04-basebuild-4c-8g'
37 description: 'Name of the Jenkins node to run the job on'
38
39 - string:
40 name: numOnus
41 default: '1'
42 description: 'Number of onus per pon port'
43
44 - string:
45 name: emulationMode
46 default: '--set emulation_mode=both'
47 description: 'Emulation for BBSIM (both|aaa)'
48
49 - string:
50 name: testTimeout
51 default: '90'
52 description: 'timeout for olt/onu validations'
53
54 - string:
55 name: testTags
56 default: '-e notready'
57 description: 'test tags'
58
59 project-type: pipeline
60 concurrent: false
61
Kailashaad71012019-08-27 10:36:53 -070062 dsl: !include-raw-escape: pipeline/{pipeline}
Kailash6be1aa92019-08-05 18:11:11 -070063
64 triggers:
65 - timed: |
66 TZ=America/Los_Angeles
67 H * * * *
Kailashaad71012019-08-27 10:36:53 -070068
69- job-template:
70 id: 'voltha-patch-test'
Kailash53d86722019-09-05 09:08:41 -070071 name: '{project}_sanity-system-test'
Kailashaad71012019-08-27 10:36:53 -070072
73 description: |
74 <!-- Managed by Jenkins Job Builder -->
75 Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br />
76 E2E Validation for Voltha 2.X
77
78 properties:
79 - cord-infra-properties:
80 build-days-to-keep: '{build-days-to-keep}'
81 artifact-num-to-keep: '{artifact-num-to-keep}'
82
83 wrappers:
84 - lf-infra-wrappers:
85 build-timeout: '{build-timeout}'
86 jenkins-ssh-credential: '{jenkins-ssh-credential}'
87
88 parameters:
89 - string:
90 name: executorNode
91 default: 'ubuntu16.04-basebuild-4c-8g'
92 description: 'Name of the Jenkins node to run the job on'
93
94 - string:
95 name: manifestUrl
96 default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
97 description: 'URL to the repo manifest'
98
99 - string:
100 name: manifestBranch
101 default: '$GERRIT_BRANCH'
102 description: 'Name of the repo branch to use'
103
104 - string:
105 name: gerritProject
106 default: '$GERRIT_PROJECT'
107 description: 'Name of the Gerrit project'
108
109 - string:
110 name: gerritChangeNumber
111 default: '$GERRIT_CHANGE_NUMBER'
112 description: 'Changeset number in Gerrit'
113
114 - string:
115 name: gerritPatchsetNumber
116 default: '$GERRIT_PATCHSET_NUMBER'
117 description: 'PatchSet number in Gerrit'
118
119 - string:
120 name: numOnus
121 default: '1'
122 description: 'Number of onus per pon port'
123
124 - string:
125 name: emulationMode
126 default: '--set emulation_mode=both'
127 description: 'Emulation for BBSIM (both|aaa)'
128
129 - string:
130 name: testTimeout
131 default: '90'
132 description: 'timeout for olt/onu validations'
133
134 - string:
135 name: testTags
136 default: '-e notready'
137 description: 'test tags'
138
139 project-type: pipeline
Kailashb59bc7f2019-09-03 13:13:27 -0700140 concurrent: true
Kailashaad71012019-08-27 10:36:53 -0700141
142 dsl: !include-raw-escape: pipeline/{pipeline}
143
144 triggers:
145 - cord-infra-gerrit-trigger-patchset:
146 gerrit-server-name: '{gerrit-server-name}'
Kailash53d86722019-09-05 09:08:41 -0700147 project-regexp: '^{project}$'
148 branch-regexp: '{branch-regexp}'
Kailashaad71012019-08-27 10:36:53 -0700149 dependency-jobs: '{dependency-jobs}'
150 file-include-regexp: '{all-files-regexp}'