Making release test job more generic and hardening the deploy script to accept *any...
[releng/builder.git] / jjb / integration / integration-csit.yaml
1 - job-template:
2     name: '{project}-csit-verify-{functionality}-{stream}'
3
4     project-type: freestyle
5     node: dynamic_robot
6
7     logrotate:
8         daysToKeep: '{build-days-to-keep}'
9         numToKeep: '{build-num-to-keep}'
10         artifactDaysToKeep: '{build-artifact-days-to-keep}'
11         artifactNumToKeep: '{build-artifact-num-to-keep}'
12
13     parameters:
14         - project-parameter:
15             project: 'integration'
16         - integration-branch:
17             branch: '{branch}'
18         - integration-bundleurl:
19             bundleurl: 'last'
20         - integration-controller-scope:
21             controller-scope: 'only'
22         - integration-controller-features:
23             controller-features: '{install-features}'
24         - integration-test-options:
25             test-options: '{robot-options}'
26         - integration-test-plan:
27             test-plan: '{project}-{functionality}.txt'
28
29     scm:
30         - gerrit-trigger-scm:
31             credentials-id: '{ssh-credentials}'
32             refspec: '$GERRIT_REFSPEC'
33             choosing-strategy: 'gerrit'
34
35     wrappers:
36         - build-timeout
37         - integration-jclouds-controller-mininet:
38             controller-vms: 1
39             mininet-vms: 1
40         - ssh-agent-credentials:
41             user: '{ssh-credentials}'
42
43     triggers:
44         - integration-test-gerrit-trigger-patch-submitted:
45             name: 'integration'
46             branch: '{branch}'
47             project: '{project}'
48
49     builders:
50         - integration-get-slave-addresses
51         - inject:
52             properties-file: 'slave_addresses.txt'
53         - integration-deploy-controller-run-test
54
55     publishers:
56         - integration-robot:
57             unstable-if: 97.0
58             pass-if: 100.0
59         - archive:
60             artifacts: 'karaf.log'
61         - email-notification:
62             email-prefix: '[{project}]'
63
64 - job-template:
65     name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}'
66
67     project-type: freestyle
68     node: dynamic_robot
69
70     logrotate:
71         daysToKeep: '{build-days-to-keep}'
72         numToKeep: '{build-num-to-keep}'
73         artifactDaysToKeep: '{build-artifact-days-to-keep}'
74         artifactNumToKeep: '{build-artifact-num-to-keep}'
75
76     parameters:
77         - project-parameter:
78             project: 'integration'
79         - integration-branch:
80             branch: '{branch}'
81         - integration-bundleurl:
82             bundleurl: 'last'
83         - integration-controller-scope:
84             controller-scope: '{scope}'
85         - integration-controller-features:
86             controller-features: '{install-features}'
87         - integration-test-options:
88             test-options: '{robot-options}'
89         - integration-test-plan:
90             test-plan: '{project}-{functionality}.txt'
91
92     scm:
93         - git-scm:
94             credentials-id: '{ssh-credentials}'
95             refspec: ''
96             branch: '{branch}'
97
98     wrappers:
99         - build-timeout
100         - integration-jclouds-controller-mininet:
101             controller-vms: 1
102             mininet-vms: 1
103         - ssh-agent-credentials:
104             user: '{ssh-credentials}'
105
106     triggers:
107         - reverse:
108             jobs: '{trigger-jobs}'
109             result: 'success'
110
111     builders:
112         - integration-get-slave-addresses
113         - inject:
114             properties-file: 'slave_addresses.txt'
115         - integration-deploy-controller-run-test
116
117     publishers:
118         - integration-robot:
119             unstable-if: 97.0
120             pass-if: 100.0
121         - archive:
122             artifacts: 'karaf.log'
123         - email-notification:
124             email-prefix: '[{project}]'
125
126 - job-template:
127     name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
128
129     project-type: freestyle
130     node: dynamic_robot
131
132     logrotate:
133         daysToKeep: '{build-days-to-keep}'
134         numToKeep: '{build-num-to-keep}'
135         artifactDaysToKeep: '{build-artifact-days-to-keep}'
136         artifactNumToKeep: '{build-artifact-num-to-keep}'
137
138     parameters:
139         - project-parameter:
140             project: 'integration'
141         - integration-branch:
142             branch: '{branch}'
143         - integration-bundleurl:
144             bundleurl: 'last'
145         - integration-controller-scope:
146             controller-scope: '{scope}'
147         - integration-controller-features:
148             controller-features: 'odl-mdsal-clustering,{install-features}'
149         - integration-test-options:
150             test-options: '{robot-options}'
151         - integration-test-plan:
152             test-plan: '{project}-{functionality}.txt'
153
154     scm:
155         - git-scm:
156             credentials-id: '{ssh-credentials}'
157             refspec: ''
158             branch: '{branch}'
159
160     wrappers:
161         - build-timeout
162         - integration-jclouds-controller-mininet:
163             controller-vms: 1
164             mininet-vms: 1
165         - ssh-agent-credentials:
166             user: '{ssh-credentials}'
167
168     triggers:
169         - reverse:
170             jobs: '{trigger-jobs}'
171             result: 'success'
172
173     builders:
174         - integration-get-slave-addresses
175         - inject:
176             properties-file: 'slave_addresses.txt'
177         - integration-deploy-controller-run-test
178
179     publishers:
180         - integration-robot:
181             unstable-if: 97.0
182             pass-if: 100.0
183         - archive:
184             artifacts: 'karaf.log'
185         - email-notification:
186             email-prefix: '[{project}]'
187