Make robot framework output-path parametrizable.
[ci-management.git] / jjb / csit / csit-vpp-functional.yaml
1 - project:
2     name: csit-vpp-functional
3     description: 'Run VPP functional tests on VIRL.'
4
5     jobs:
6         - 'csit-vpp-functional-hw-tb2'
7         - 'csit-vpp-functional-virl'
8         - 'csit-vpp-functional-nodepool'
9         - 'csit-vpp-master-verify-weekly'
10
11     project: 'csit'
12     branch: 'master'
13
14
15 - job-template:
16     name: 'csit-vpp-functional-virl'
17
18     project-type: freestyle
19     node: verify
20     concurrent: true
21
22     logrotate:
23         daysToKeep: '{build-days-to-keep}'
24         numToKeep: '{build-num-to-keep}'
25         artifactDaysToKeep: '{build-artifact-days-to-keep}'
26         artifactNumToKeep: '{build-artifact-num-to-keep}'
27
28     parameters:
29         - project-parameter:
30             project: '{project}'
31         - gerrit-parameter:
32             branch: '{branch}'
33
34     scm:
35         - gerrit-trigger-scm:
36             credentials-id: '{ssh-credentials}'
37             refspec: '$GERRIT_REFSPEC'
38             choosing-strategy: 'gerrit'
39
40     wrappers:
41         - ssh-agent-credentials:
42             users:
43                 - '{ssh-credentials}'
44
45     triggers:
46         - gerrit-trigger-patch-submitted:
47             name: '{project}'
48             branch: '{branch}'
49
50     builders:
51         - shell:
52             !include-raw-escape include-raw-csit-vpp-functional-virl.sh
53
54     publishers:
55         - archive-artifacts:
56             artifacts: 'report.html, log.html, output.xml'
57             latest-only: false
58
59         - robot-report:
60             output-path: ''
61
62 - job-template:
63     name: 'csit-vpp-functional-hw-tb2'
64
65     project-type: freestyle
66     node: verify
67     concurrent: false
68
69     logrotate:
70         daysToKeep: '{build-days-to-keep}'
71         numToKeep: '{build-num-to-keep}'
72         artifactDaysToKeep: '{build-artifact-days-to-keep}'
73         artifactNumToKeep: '{build-artifact-num-to-keep}'
74
75     parameters:
76         - project-parameter:
77             project: '{project}'
78         - gerrit-parameter:
79             branch: '{branch}'
80
81     scm:
82         - gerrit-trigger-scm:
83             credentials-id: '{ssh-credentials}'
84             refspec: '$GERRIT_REFSPEC'
85             choosing-strategy: 'gerrit'
86
87     wrappers:
88         - ssh-agent-credentials:
89             users:
90                 - '{ssh-credentials}'
91
92     triggers:
93         - gerrit-trigger-manually-triggered:
94             name: '{project}'
95             branch: '{branch}'
96             comment-trigger-value: 'hw-perf-check'
97
98     builders:
99         - shell:
100             !include-raw-escape jjb/csit/include-raw-csit-vpp-functional-hw-tb2.sh
101
102     publishers:
103         - archive-artifacts:
104             artifacts: 'report.html, log.html, output.xml'
105             latest-only: false
106
107         - robot-report:
108             output-path: ''
109
110 - job-template:
111     name: 'csit-vpp-functional-nodepool'
112
113     project-type: freestyle
114     node: multilink
115     concurrent: true
116
117     logrotate:
118         daysToKeep: '{build-days-to-keep}'
119         numToKeep: '{build-num-to-keep}'
120         artifactDaysToKeep: '{build-artifact-days-to-keep}'
121         artifactNumToKeep: '{build-artifact-num-to-keep}'
122
123     scm:
124         - zuul-trigger-scm:
125             credentials-id: '{ssh-credentials}'
126             refspec: '$ZUUL_REF'
127             commit: '$ZUUL_COMMIT'
128
129     wrappers:
130         - ssh-agent-credentials:
131             users:
132                 - '{ssh-credentials}'
133
134     builders:
135         - shell:
136             !include-raw-escape: include-raw-csit-vpp-functional-multilink.sh
137
138     publishers:
139         - archive-artifacts:
140             artifacts: 'report.html, log.html, output.xml'
141             latest-only: false
142
143         - robot-report:
144             output-path: ''
145
146 - job-template:
147     name: 'csit-vpp-master-verify-weekly'
148
149     project-type: freestyle
150     node: verify
151     concurrent: false
152
153     logrotate:
154         daysToKeep: '{build-days-to-keep}'
155         numToKeep: '{build-num-to-keep}'
156         artifactDaysToKeep: '{build-artifact-days-to-keep}'
157         artifactNumToKeep: '{build-artifact-num-to-keep}'
158
159     parameters:
160         - project-parameter:
161             project: '{project}'
162         - gerrit-parameter:
163             branch: '{branch}'
164
165     scm:
166         - git-scm:
167             credentials-id: '{ssh-credentials}'
168             branch: 'master'
169
170     wrappers:
171         - ssh-agent-credentials:
172             users:
173                 - '{ssh-credentials}'
174
175     triggers:
176         - timed: 'H H * * 0'
177
178     builders:
179         - shell:
180             !include-raw-escape jjb/csit/include-raw-csit-vpp-verify-master.sh
181
182     publishers:
183         - git:
184                push-only-if-success: true
185                branches:
186                    - branch:
187                        name: "master-verified"