blob: 1cd96b4cf45e9d4ca50fc40acdabb8397fcf2aeb [file] [log] [blame]
Gary Wu0bb72f52017-07-13 12:32:14 -07001---
2- job-template:
3 name: '{project-name}-{stream}-verify-csit-{functionality}'
4 disabled: false
5
6 project-type: freestyle
7 build-node: 'ubuntu1604-docker-8c-8g'
8 node: '{build-node}'
9
10 properties:
11 - lf-infra-properties:
Gary Wudc7a7c12017-08-08 07:49:05 -070012 project: 'integration'
Gary Wu0bb72f52017-07-13 12:32:14 -070013 build-days-to-keep: '{build-days-to-keep}'
14
15 parameters:
16 - infra-parameters:
Gary Wudc7a7c12017-08-08 07:49:05 -070017 project: 'integration'
Gary Wu0bb72f52017-07-13 12:32:14 -070018 branch: '{branch}'
19 refspec: 'refs/heads/{branch}'
20 artifacts: '{archive-artifacts}'
21 - integration-test-plan:
22 test-plan: 'plans/{project-name}/{functionality}'
23 - integration-test-options:
24 test-options: '{robot-options}'
25
26 scm:
27 - gerrit-trigger-scm:
28 refspec: '$GERRIT_REFSPEC'
29 choosing-strategy: 'gerrit'
30 submodule-recursive: '{submodule-recursive}'
31
32 wrappers:
33 - lf-infra-wrappers:
34 build-timeout: '{build-timeout}'
35 jenkins-ssh-credential: '{jenkins-ssh-credential}'
36
37 triggers:
38 - gerrit-trigger-patch-submitted:
39 server: '{server-name}'
40 project: 'integration'
41 branch: '{branch}'
Gary Wu47b28902018-08-29 16:01:17 -070042 files: 'test/csit/**/{project-name}/**'
Gary Wu0bb72f52017-07-13 12:32:14 -070043
44 builders:
45 - integration-install-robotframework
46 - inject:
47 properties-file: 'env.properties'
48 - integration-run-test
49
50 publishers:
51 - integration-robot:
52 unstable-if: 0.0
53 pass-if: 100.0
54 - lf-infra-publish
55
56- job-template:
Jessica Wagantallf3e2db72017-11-14 00:52:23 -080057 name: '{project-name}-{stream}-verify-csit-{functionality}-testng'
58 disabled: false
59
60 project-type: freestyle
61 build-node: 'ubuntu1604-docker-8c-8g'
62 node: '{build-node}'
63
64 properties:
65 - lf-infra-properties:
66 project: 'integration'
67 build-days-to-keep: '{build-days-to-keep}'
68
69 parameters:
70 - infra-parameters:
71 project: 'integration'
72 branch: '{branch}'
73 refspec: 'refs/heads/{branch}'
74 artifacts: '{archive-artifacts}'
75 - integration-test-plan:
76 test-plan: 'plans/{project-name}/{functionality}'
77 - integration-test-options:
78 test-options: '{robot-options}'
79 - html-publisher-dir:
80 html-dir: '{html-dir}'
81 - html-publisher-files:
82 html-files: '{html-files}'
83
84 scm:
85 - gerrit-trigger-scm:
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
88 submodule-recursive: '{submodule-recursive}'
89
90 wrappers:
91 - lf-infra-wrappers:
92 build-timeout: '{build-timeout}'
93 jenkins-ssh-credential: '{jenkins-ssh-credential}'
94
95 triggers:
96 - gerrit-trigger-patch-submitted:
97 server: '{server-name}'
98 project: 'integration'
99 branch: '{branch}'
Gary Wu47b28902018-08-29 16:01:17 -0700100 files: 'test/csit/**/{project-name}/**'
Jessica Wagantallf3e2db72017-11-14 00:52:23 -0800101
102 builders:
103 - integration-install-robotframework
104 - inject:
105 properties-file: 'env.properties'
106 - integration-run-test
107
108 publishers:
Jessica Wagantallf3e2db72017-11-14 00:52:23 -0800109 - testng:
110 pattern: archives/testng-results.xml
111 escape-test-description: true
112 escape-exception-msg: true
113 show-failed-builds: true
Yuli Shlosberg4708df92018-01-10 14:07:26 +0200114 unstable-on-skipped-tests: false
115 failure-on-failed-test-config: false
Jessica Wagantallde393202018-01-09 18:37:43 -0800116 - junit:
117 results: archives/testng-results.xml
118 health-scale-factor: 1.0
Yuli Shlosberg4708df92018-01-10 14:07:26 +0200119 allow-empty-results: true
Jessica Wagantallde393202018-01-09 18:37:43 -0800120 - integration-robot:
121 unstable-if: 0.0
122 pass-if: 100.0
Jessica Wagantallf3e2db72017-11-14 00:52:23 -0800123 - html-publisher:
Yuli Shlosberg4708df92018-01-10 14:07:26 +0200124 allow-missing: true
Jessica Wagantallf3e2db72017-11-14 00:52:23 -0800125 dir: '{html-dir}'
126 files: '{html-files}'
127 keep-all: false
128 link-to-last-build: false
129 name: ExtentReport
Jessica Wagantallde393202018-01-09 18:37:43 -0800130 - lf-infra-publish
Jessica Wagantallf3e2db72017-11-14 00:52:23 -0800131
132- job-template:
Gary Wu0bb72f52017-07-13 12:32:14 -0700133 name: '{project-name}-{stream}-csit-{functionality}'
134 disabled: false
135
136 project-type: freestyle
137 build-node: 'ubuntu1604-docker-8c-8g'
138 node: '{build-node}'
139
140 properties:
141 - lf-infra-properties:
Gary Wudc7a7c12017-08-08 07:49:05 -0700142 project: 'integration'
Gary Wu0bb72f52017-07-13 12:32:14 -0700143 build-days-to-keep: '{build-days-to-keep}'
144
145 parameters:
146 - infra-parameters:
Gary Wudc7a7c12017-08-08 07:49:05 -0700147 project: 'integration'
Gary Wu0bb72f52017-07-13 12:32:14 -0700148 branch: '{branch}'
149 refspec: 'refs/heads/{branch}'
150 artifacts: '{archive-artifacts}'
151 - integration-test-plan:
152 test-plan: 'plans/{project-name}/{functionality}'
153 - integration-test-options:
154 test-options: '{robot-options}'
155
156 scm:
157 - gerrit-trigger-scm:
158 refspec: ''
159 choosing-strategy: 'default'
160 submodule-recursive: '{submodule-recursive}'
161
162 wrappers:
163 - lf-infra-wrappers:
164 build-timeout: '{build-timeout}'
165 jenkins-ssh-credential: '{jenkins-ssh-credential}'
166
167 triggers:
168 - gerrit-trigger-patch-merged:
169 server: '{server-name}'
170 project: 'integration'
171 branch: '{branch}'
Gary Wu47b28902018-08-29 16:01:17 -0700172 files: 'test/csit/**/{project-name}/**'
Gary Wu0bb72f52017-07-13 12:32:14 -0700173 - timed: '@daily'
174 - reverse:
175 jobs: '{obj:trigger_jobs}'
176
177 builders:
178 - integration-install-robotframework
179 - inject:
180 properties-file: 'env.properties'
181 - integration-run-test
182
183 publishers:
184 - integration-robot:
185 unstable-if: 0.0
186 pass-if: 100.0
187 - lf-infra-publish
Yuli Shlosberg6edd8ba2017-11-30 18:00:27 +0200188
189- job-template:
190 name: '{project-name}-{stream}-csit-{functionality}-testng'
191 disabled: false
192
193 project-type: freestyle
194 build-node: 'ubuntu1604-docker-8c-8g'
195 node: '{build-node}'
196
197 properties:
198 - lf-infra-properties:
199 project: 'integration'
200 build-days-to-keep: '{build-days-to-keep}'
201
202 parameters:
203 - infra-parameters:
204 project: 'integration'
205 branch: '{branch}'
206 refspec: 'refs/heads/{branch}'
207 artifacts: '{archive-artifacts}'
208 - integration-test-plan:
209 test-plan: 'plans/{project-name}/{functionality}'
210 - integration-test-options:
211 test-options: '{robot-options}'
212 - html-publisher-dir:
213 html-dir: '{html-dir}'
214 - html-publisher-files:
215 html-files: '{html-files}'
216
217 scm:
218 - gerrit-trigger-scm:
219 refspec: ''
220 choosing-strategy: 'default'
221 submodule-recursive: '{submodule-recursive}'
222
223 wrappers:
224 - lf-infra-wrappers:
225 build-timeout: '{build-timeout}'
226 jenkins-ssh-credential: '{jenkins-ssh-credential}'
227
228 triggers:
229 - gerrit-trigger-patch-merged:
230 server: '{server-name}'
231 project: 'integration'
232 branch: '{branch}'
Gary Wu47b28902018-08-29 16:01:17 -0700233 files: 'test/csit/**/{project-name}/**'
Yuli Shlosberg6edd8ba2017-11-30 18:00:27 +0200234 - timed: '@daily'
235 - reverse:
236 jobs: '{obj:trigger_jobs}'
237
238 builders:
239 - integration-install-robotframework
240 - inject:
241 properties-file: 'env.properties'
242 - integration-run-test
243
244 publishers:
245 - integration-robot:
246 unstable-if: 0.0
247 pass-if: 100.0
Yuli Shlosberg6edd8ba2017-11-30 18:00:27 +0200248 - testng:
249 pattern: archives/testng-results.xml
250 escape-test-description: true
251 escape-exception-msg: true
252 show-failed-builds: true
Yuli Shlosberg4708df92018-01-10 14:07:26 +0200253 unstable-on-skipped-tests: false
254 failure-on-failed-test-config: false
255 - junit:
256 results: archives/testng-results.xml
257 health-scale-factor: 1.0
258 allow-empty-results: true
Yuli Shlosberg6edd8ba2017-11-30 18:00:27 +0200259 - html-publisher:
Yuli Shlosberg4708df92018-01-10 14:07:26 +0200260 allow-missing: true
Yuli Shlosberg6edd8ba2017-11-30 18:00:27 +0200261 dir: '{html-dir}'
262 files: '{html-files}'
263 keep-all: false
264 link-to-last-build: false
Jessica Wagantallde393202018-01-09 18:37:43 -0800265 name: ExtentReport
Jessica Wagantalla1638b12018-01-18 17:15:41 -0800266 - lf-infra-publish