7 #####################################
9 #####################################
15 #####################################
16 # patch verification phases
17 #####################################
20 slave-label: 'odl-netvirt-virtual-intel'
22 slave-label: 'odl-netvirt-virtual-intel'
24 slave-label: 'odl-netvirt-virtual-intel'
25 #####################################
27 #####################################
29 - 'odl-netvirt-verify-virtual-{stream}'
30 - 'odl-netvirt-verify-virtual-{phase}-{stream}'
31 #####################################
33 #####################################
35 name: 'odl-netvirt-verify-virtual-{stream}'
37 project-type: multijob
39 disabled: '{obj:disabled}'
53 url: https://gerrit.opnfv.org/gerrit/apex
64 name: NETVIRT_ARTIFACT
65 default: $WORKSPACE/distribution-karaf.tar.gz
66 - 'odl-netvirt-virtual-defaults'
70 server-name: 'git.opendaylight.org'
72 # - comment-added-contains-event:
73 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : SUCCESS'
74 # - comment-added-contains-event:
75 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : UNSTABLE'
76 - comment-added-contains-event:
77 comment-contains-value: 'opnfv-test'
79 - project-compare-type: 'ANT'
80 project-pattern: '{project}'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/{branch}'
84 readable-message: true
88 description: "Built on $NODE_NAME"
93 - name: 'odl-netvirt-verify-virtual-create-apex-vms-{stream}'
94 current-parameters: false
95 predefined-parameters: |
97 GERRIT_REFSPEC=$GERRIT_REFSPEC
98 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
99 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
100 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
101 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
102 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
103 APEX_ENV_NUMBER=$APEX_ENV_NUMBER
104 node-parameters: false
105 kill-phase-on: FAILURE
108 name: install-netvirt
109 condition: SUCCESSFUL
111 - name: 'odl-netvirt-verify-virtual-install-netvirt-{stream}'
112 current-parameters: false
113 predefined-parameters: |
115 GERRIT_REFSPEC=$GERRIT_REFSPEC
116 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
117 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
118 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
119 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
120 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
121 node-parameters: true
122 kill-phase-on: FAILURE
126 condition: SUCCESSFUL
128 - name: 'functest-netvirt-virtual-suite-{stream}'
129 predefined-parameters: |
130 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
131 FUNCTEST_SUITE_NAME=healthcheck
132 node-parameters: true
133 kill-phase-on: FAILURE
139 - name: 'odl-netvirt-verify-virtual-postprocess-{stream}'
140 current-parameters: false
141 predefined-parameters: |
143 GERRIT_REFSPEC=$GERRIT_REFSPEC
144 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
145 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
146 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
147 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
148 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
149 node-parameters: true
150 kill-phase-on: FAILURE
154 name: 'odl-netvirt-verify-virtual-{phase}-{stream}'
156 disabled: '{obj:disabled}'
168 use-build-blocker: true
170 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
171 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
172 - 'functest-netvirt-virtual-suite-.*'
173 - 'odl-netvirt-verify-virtual-postprocess-.*'
184 url: https://gerrit.opnfv.org/gerrit/apex
194 - '{slave-label}-defaults'
195 - '{installer}-defaults'
197 name: DEPLOY_SCENARIO
198 default: 'os-odl_l2-bgpvpn-noha'
199 description: 'Scenario to deploy and test'
202 default: artifacts.opnfv.org/apex
203 description: "URL to Google Storage with snapshot artifacts."
206 - description-setter:
207 description: "Built on $NODE_NAME"
208 - '{project}-verify-{phase}-builder'
209 #####################################
211 #####################################
213 name: 'netvirt-verify-create-apex-vms-builder'
216 !include-raw: ../apex/apex-snapshot-deploy.sh
218 name: 'netvirt-verify-install-netvirt-builder'
221 !include-raw: ./download-netvirt-artifact.sh
223 !include-raw: ./install-netvirt.sh
225 name: 'netvirt-verify-postprocess-builder'
228 !include-raw: ./postprocess-netvirt.sh