blob: ccba91a2dd28c26887daa041a29b4aa6b846f617 [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}'
42 files: 'test/csit/**/{project-name}/**'
43
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}'
100 files: 'test/csit/**/{project-name}/**'
101
102 builders:
103 - integration-install-robotframework
104 - inject:
105 properties-file: 'env.properties'
106 - integration-run-test
107
108 publishers:
109 - integration-robot:
110 unstable-if: 0.0
111 pass-if: 100.0
112 - lf-infra-publish
113 - testng:
114 pattern: archives/testng-results.xml
115 escape-test-description: true
116 escape-exception-msg: true
117 show-failed-builds: true
118 - html-publisher:
119 allow-missing: false
120 dir: '{html-dir}'
121 files: '{html-files}'
122 keep-all: false
123 link-to-last-build: false
124 name: ExtentReport
125
126- job-template:
Gary Wu0bb72f52017-07-13 12:32:14 -0700127 name: '{project-name}-{stream}-csit-{functionality}'
128 disabled: false
129
130 project-type: freestyle
131 build-node: 'ubuntu1604-docker-8c-8g'
132 node: '{build-node}'
133
134 properties:
135 - lf-infra-properties:
Gary Wudc7a7c12017-08-08 07:49:05 -0700136 project: 'integration'
Gary Wu0bb72f52017-07-13 12:32:14 -0700137 build-days-to-keep: '{build-days-to-keep}'
138
139 parameters:
140 - infra-parameters:
Gary Wudc7a7c12017-08-08 07:49:05 -0700141 project: 'integration'
Gary Wu0bb72f52017-07-13 12:32:14 -0700142 branch: '{branch}'
143 refspec: 'refs/heads/{branch}'
144 artifacts: '{archive-artifacts}'
145 - integration-test-plan:
146 test-plan: 'plans/{project-name}/{functionality}'
147 - integration-test-options:
148 test-options: '{robot-options}'
149
150 scm:
151 - gerrit-trigger-scm:
152 refspec: ''
153 choosing-strategy: 'default'
154 submodule-recursive: '{submodule-recursive}'
155
156 wrappers:
157 - lf-infra-wrappers:
158 build-timeout: '{build-timeout}'
159 jenkins-ssh-credential: '{jenkins-ssh-credential}'
160
161 triggers:
162 - gerrit-trigger-patch-merged:
163 server: '{server-name}'
164 project: 'integration'
165 branch: '{branch}'
166 files: 'test/csit/**/{project-name}/**'
167 - timed: '@daily'
168 - reverse:
169 jobs: '{obj:trigger_jobs}'
170
171 builders:
172 - integration-install-robotframework
173 - inject:
174 properties-file: 'env.properties'
175 - integration-run-test
176
177 publishers:
178 - integration-robot:
179 unstable-if: 0.0
180 pass-if: 100.0
181 - lf-infra-publish