7 #####################################
9 #####################################
16 branch: 'stable/carbon'
19 #####################################
20 # patch verification phases
21 #####################################
24 slave-label: 'odl-netvirt-virtual-intel'
26 slave-label: 'odl-netvirt-virtual-intel'
28 slave-label: 'odl-netvirt-virtual-intel'
29 #####################################
31 #####################################
33 - 'odl-netvirt-verify-virtual-{stream}'
34 - 'odl-netvirt-verify-virtual-{phase}-{stream}'
35 #####################################
37 #####################################
39 name: 'odl-netvirt-verify-virtual-{stream}'
41 project-type: multijob
43 disabled: '{obj:disabled}'
57 url: https://gerrit.opnfv.org/gerrit/apex
68 name: NETVIRT_ARTIFACT
69 default: distribution-karaf.tar.gz
70 - 'odl-netvirt-virtual-intel-defaults'
74 server-name: 'git.opendaylight.org'
76 # - comment-added-contains-event:
77 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : SUCCESS'
78 # - comment-added-contains-event:
79 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : UNSTABLE'
80 - comment-added-contains-event:
81 comment-contains-value: 'opnfv-test'
83 - project-compare-type: 'ANT'
84 project-pattern: '{project}'
86 - branch-compare-type: 'ANT'
87 branch-pattern: '**/{branch}'
88 readable-message: true
92 description: "Built on $NODE_NAME"
97 - name: 'odl-netvirt-verify-virtual-create-apex-vms-{stream}'
98 current-parameters: false
99 predefined-parameters: |
101 GERRIT_REFSPEC=$GERRIT_REFSPEC
102 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
103 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
104 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
105 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
106 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
107 APEX_ENV_NUMBER=$APEX_ENV_NUMBER
108 node-parameters: true
109 kill-phase-on: FAILURE
112 name: install-netvirt
113 condition: SUCCESSFUL
115 - name: 'odl-netvirt-verify-virtual-install-netvirt-{stream}'
116 current-parameters: false
117 predefined-parameters: |
120 GERRIT_REFSPEC=$GERRIT_REFSPEC
121 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
122 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
123 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
124 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
125 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
126 node-parameters: true
127 kill-phase-on: FAILURE
131 condition: SUCCESSFUL
133 - name: 'functest-netvirt-virtual-suite-master'
134 predefined-parameters: |
135 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
136 FUNCTEST_SUITE_NAME=odl_netvirt
137 RC_FILE_PATH=$HOME/cloner-info/overcloudrc
138 node-parameters: true
139 kill-phase-on: FAILURE
145 - name: 'odl-netvirt-verify-virtual-postprocess-{stream}'
146 current-parameters: false
147 predefined-parameters: |
149 GERRIT_REFSPEC=$GERRIT_REFSPEC
150 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
151 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
152 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
153 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
154 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
155 node-parameters: true
156 kill-phase-on: FAILURE
160 name: 'odl-netvirt-verify-virtual-{phase}-{stream}'
162 disabled: '{obj:disabled}'
174 use-build-blocker: true
176 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
177 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
178 - 'functest-netvirt-virtual-suite-.*'
179 - 'odl-netvirt-verify-virtual-postprocess-.*'
190 url: https://gerrit.opnfv.org/gerrit/apex
200 - '{slave-label}-defaults'
201 - '{installer}-defaults'
203 name: DEPLOY_SCENARIO
204 default: 'os-odl_l2-bgpvpn-noha'
205 description: 'Scenario to deploy and test'
208 default: artifacts.opnfv.org/apex
209 description: "URL to Google Storage with snapshot artifacts."
212 - description-setter:
213 description: "Built on $NODE_NAME"
214 - '{project}-verify-{phase}-builder'
215 #####################################
217 #####################################
219 name: 'netvirt-verify-create-apex-vms-builder'
222 !include-raw: ../apex/apex-snapshot-deploy.sh
224 name: 'netvirt-verify-install-netvirt-builder'
227 !include-raw: ./download-netvirt-artifact.sh
229 !include-raw: ./install-netvirt.sh
231 name: 'netvirt-verify-postprocess-builder'
234 !include-raw: ./postprocess-netvirt.sh