blob: 43b8c641bde006950e61aed485b7b38ac9c5f373 [file] [log] [blame]
Suchitra Vemurif126e7e2018-08-01 11:31:11 -07001// Copyright 2017-present Open Networking Foundation
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Suchitra Vemurif126e7e2018-08-01 11:31:11 -070015node ("${TestNodeName}") {
Luca Prete57c87d52018-08-27 16:54:13 -070016 timeout (100) {
17 try {
18 stage ("Parse deployment configuration file") {
You Wange153b0f2018-08-29 13:50:04 -070019 sh returnStdout: true, script: "rm -rf ${configBaseDir}"
20 sh returnStdout: true, script: "git clone -b ${branch} ${cordRepoUrl}/${configBaseDir}"
21 deployment_config = readYaml file: "${configBaseDir}/${configDeploymentDir}/${configFileName}.yml"
Suchitra Vemurif126e7e2018-08-01 11:31:11 -070022 }
Luca Prete57c87d52018-08-27 16:54:13 -070023 stage('Clean up') {
24 timeout(10) {
25 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070026 rm -rf helm-charts cord-tester
27 git clone -b ${branch} ${cordRepoUrl}/helm-charts
28 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Preted5537622018-08-29 15:24:07 -070029 for hchart in \$(helm list -q | grep -E -v 'docker-registry|mavenrepo|ponnet');
Luca Prete57c87d52018-08-27 16:54:13 -070030 do
31 echo "Purging chart: \${hchart}"
32 helm delete --purge "\${hchart}"
33 done
Suchitra Vemurif126e7e2018-08-01 11:31:11 -070034 """
Luca Prete57c87d52018-08-27 16:54:13 -070035 timeout(5) {
36 waitUntil {
37 helm_deleted = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070038 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete1493f3d2018-08-29 16:51:47 -070039 helm ls -q | grep -E -v 'docker-registry|mavenrepo|ponnet' | wc -l
Suchitra Vemurif126e7e2018-08-01 11:31:11 -070040 """
Luca Prete57c87d52018-08-27 16:54:13 -070041 return helm_deleted.toInteger() == 0
42 }
43 }
44 timeout(5) {
45 waitUntil {
46 kubectl_deleted = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070047 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete1493f3d2018-08-29 16:51:47 -070048 kubectl get pods --all-namespaces --no-headers | grep -E -v 'kube-system|docker-registry|mavenrepo|ponnet' | wc -l
Luca Prete57c87d52018-08-27 16:54:13 -070049 """
50 return kubectl_deleted.toInteger() == 0
Suchitra Vemurif126e7e2018-08-01 11:31:11 -070051 }
52 }
53 }
54 }
Luca Prete57c87d52018-08-27 16:54:13 -070055 dir ("helm-charts") {
56 stage('Install Voltha Kafka') {
57 timeout(10) {
58 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070059 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Prete57c87d52018-08-27 16:54:13 -070060 helm install --name voltha-kafka --set replicas=1 --set persistence.enabled=false --set zookeeper.replicaCount=1 --set zookeeper.persistence.enabled=false incubator/kafka
Suchitra Vemurif126e7e2018-08-01 11:31:11 -070061 """
Luca Prete57c87d52018-08-27 16:54:13 -070062 }
63 timeout(10) {
64 waitUntil {
65 kafka_instances_running = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070066 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete57c87d52018-08-27 16:54:13 -070067 kubectl get pods | grep voltha-kafka | grep -i running | grep 1/1 | wc -l
68 """
69 return kafka_instances_running.toInteger() == 2
70 }
71 }
72 }
73 stage('Install voltha') {
74 timeout(10) {
75 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070076 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Prete57c87d52018-08-27 16:54:13 -070077 helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
78 helm dep build voltha
You Wange153b0f2018-08-29 13:50:04 -070079 helm install -n voltha -f ../${configBaseDir}/${configKubernetesDir}/${configFileName}.yml --set etcd-operator.customResources.createEtcdClusterCRD=false voltha
Matteo Scandoloc40ec612018-08-29 17:26:13 -070080 helm upgrade -f ../${configBaseDir}/${configKubernetesDir}/${configFileName}.yml --set etcd-operator.customResources.createEtcdClusterCRD=true voltha ./voltha
Luca Prete57c87d52018-08-27 16:54:13 -070081 """
82 }
83 timeout(10) {
84 waitUntil {
85 voltha_completed = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070086 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete57c87d52018-08-27 16:54:13 -070087 kubectl get pods -n voltha | grep -i running | grep 1/1 | wc -l
88 """
Luca Prete569e3bb2018-08-29 14:04:03 -070089 return voltha_completed.toInteger() == 11
Luca Prete57c87d52018-08-27 16:54:13 -070090 }
91 }
92 }
Luca Prete1854d622018-08-28 10:31:44 -070093 stage('Install CORD Kafka') {
94 timeout(10) {
95 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -070096 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Prete1854d622018-08-28 10:31:44 -070097 helm install --name cord-kafka --set replicas=1 --set persistence.enabled=false --set zookeeper.replicaCount=1 --set zookeeper.persistence.enabled=false incubator/kafka
98 """
99 }
100 timeout(10) {
101 waitUntil {
102 kafka_instances_running = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700103 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete1854d622018-08-28 10:31:44 -0700104 kubectl get pods | grep cord-kafka | grep -i running | grep 1/1 | wc -l
105 """
106 return kafka_instances_running.toInteger() == 2
107 }
108 }
109 }
Luca Prete57c87d52018-08-27 16:54:13 -0700110 stage('Install ONOS-Voltha') {
111 timeout(10) {
112 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700113 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Preted5537622018-08-29 15:24:07 -0700114 helm install -n onos-voltha -f configs/onos-voltha.yaml -f ../${configBaseDir}/${configKubernetesDir}/${configFileName}.yml onos
Luca Prete57c87d52018-08-27 16:54:13 -0700115 """
116 }
117 timeout(10) {
118 waitUntil {
119 onos_voltha_completed = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700120 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete57c87d52018-08-27 16:54:13 -0700121 kubectl get pods -n voltha | grep -i onos-voltha | grep -i running | grep 1/1 | wc -l
122 """
123 return onos_voltha_completed.toInteger() == 1
124 }
125 }
126 }
127 stage('Install ONOS-Fabric') {
128 timeout(10) {
129 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700130 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Preted5537622018-08-29 15:24:07 -0700131 helm install -n onos-fabric -f configs/onos-fabric.yaml -f ../${configBaseDir}/${configKubernetesDir}/${configFileName}.yml onos
Luca Prete57c87d52018-08-27 16:54:13 -0700132 """
133 }
134 timeout(10) {
135 waitUntil {
136 onos_fabric_completed = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700137 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete57c87d52018-08-27 16:54:13 -0700138 kubectl get pods | grep -i onos-fabric | grep -i running | grep 1/1 | wc -l
139 """
140 return onos_fabric_completed.toInteger() == 1
141 }
142 }
143 }
144 stage('Install xos-core') {
145 timeout(10) {
146 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700147 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Prete57c87d52018-08-27 16:54:13 -0700148 helm dep update xos-core
You Wange153b0f2018-08-29 13:50:04 -0700149 helm install -f ../${configBaseDir}/${configKubernetesDir}/${configFileName}.yml -n xos-core xos-core
Luca Prete57c87d52018-08-27 16:54:13 -0700150 """
151 }
152 timeout(10) {
153 waitUntil {
154 xos_core_completed = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700155 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete57c87d52018-08-27 16:54:13 -0700156 kubectl get pods | grep -i xos | grep -i running | grep 1/1 | wc -l
157 """
158 return xos_core_completed.toInteger() == 7
159 }
160 }
161 }
162 stage('Install rcord-lite') {
163 timeout(10) {
164 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700165 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Prete57c87d52018-08-27 16:54:13 -0700166 helm dep update xos-profiles/rcord-lite
You Wange153b0f2018-08-29 13:50:04 -0700167 helm install -f ../${configBaseDir}/${configKubernetesDir}/${configFileName}.yml -n rcord-lite xos-profiles/rcord-lite
Luca Prete57c87d52018-08-27 16:54:13 -0700168 """
169 }
170 timeout(10) {
171 waitUntil {
172 rcord_tosca_completed = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700173 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf &&
Luca Prete57c87d52018-08-27 16:54:13 -0700174 kubectl get pods | grep -i tosca-loader | grep -i completed | wc -l
175 """
176 return rcord_tosca_completed.toInteger() == 1
177 }
178 }
179 }
Luca Prete57c87d52018-08-27 16:54:13 -0700180 stage('Install hippie-oss') {
181 timeout(10) {
182 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700183 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
184 helm install -f ../${configBaseDir}/${configKubernetesDir}/${configFileName}.yml -n hippie-oss xos-services/hippie-oss
Luca Prete57c87d52018-08-27 16:54:13 -0700185 """
186 }
187 timeout(10) {
188 waitUntil {
189 hippie_oss_running = sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700190 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Luca Prete57c87d52018-08-27 16:54:13 -0700191 kubectl get pods | grep -i hippie-oss | grep -i running | grep 1/1 | wc -l
192 """
193 return hippie_oss_running.toInteger() == 1
194 }
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700195 }
196 }
197 }
Luca Prete57c87d52018-08-27 16:54:13 -0700198 stage('Reinstall OLT software') {
199 for(int i=0; i < deployment_config.olts.size(); i++) {
200 sh returnStdout: true, script: """
201 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'dpkg --remove asfvolt16 && dpkg --purge asfvolt16'
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700202 """
Luca Prete57c87d52018-08-27 16:54:13 -0700203 timeout(5) {
204 waitUntil {
205 olt_sw_present = sh returnStdout: true, script: """
206 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'dpkg --list | grep asfvolt16 | wc -l'
207 """
208 return olt_sw_present.toInteger() == 0
209 }
210 }
211 sh returnStdout: true, script: """
212 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} "dpkg --install ${oltDebVersion}"
213 """
214 timeout(5) {
215 waitUntil {
216 olt_sw_present = sh returnStdout: true, script: """
217 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'dpkg --list | grep asfvolt16 | wc -l'
218 """
219 return olt_sw_present.toInteger() == 1
220 }
221 }
222 // If the OLT is connected to a 40G switch interface, set the NNI port to be downgraded
223 if ("${deployment_config.olts[i].fortygig}" != null && "${deployment_config.olts[i].fortygig}" == 'true') {
224 sh returnStdout: true, script: """
225 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'echo "port ce128 sp=40000" >> /broadcom/qax.soc'
226 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} '/opt/bcm68620/svk_init.sh'
227 """
228 }
229 }
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700230 }
Luca Prete57c87d52018-08-27 16:54:13 -0700231 stage('Restart OLT processes') {
232 for(int i=0; i < deployment_config.olts.size(); i++) {
233 timeout(5) {
234 sh returnStdout: true, script: """
235 ssh-keyscan -H ${deployment_config.olts[i].ip} >> ~/.ssh/known_hosts
236 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'pkill bal_core_dist' || true
237 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'pkill openolt' || true
238 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} '> /broadcom/bal.log'
239 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} '> /broadcom/openolt.log'
240 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'cd /broadcom; ./bal_core_dist -C :55001 < /dev/tty1 > ./bal.log 2>&1 &'
241 sleep 5
242 sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'cd /broadcom; ./openolt -C 127.0.0.1:55001 < /dev/tty1 > ./openolt.log 2>&1 &'
243 """
244 }
245 timeout(15) {
246 waitUntil {
247 onu_discovered = sh returnStdout: true, script: "sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].ip} 'cat /broadcom/openolt.log | grep \"oper_state:up\" | wc -l'"
248 return onu_discovered.toInteger() > 0
249 }
250 }
251 }
252 }
253 stage('Download cord-tester repo') {
254 timeout(2) {
255 sh returnStdout: true, script: """
You Wange153b0f2018-08-29 13:50:04 -0700256 git clone -b ${branch} ${cordRepoUrl}/cord-tester
Luca Prete57c87d52018-08-27 16:54:13 -0700257 """
258 }
259 }
260 stage('Validate installed PODs') {
261 timeout(10) {
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700262 sh """
You Wange153b0f2018-08-29 13:50:04 -0700263 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700264 cd $WORKSPACE/cord-tester/src/test/robot/
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700265 rm -rf Log/ || true
You Wangbf560622018-09-28 13:12:55 -0700266 pybot -d Log -T -l log-SanityK8POD SanityK8POD.robot || true
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700267 """
Luca Prete57c87d52018-08-27 16:54:13 -0700268 }
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700269 }
Luca Prete57c87d52018-08-27 16:54:13 -0700270 stage('Configurations and Tests') {
271 timeout(10) {
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700272 sh """
You Wange153b0f2018-08-29 13:50:04 -0700273 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700274 cd $WORKSPACE/cord-tester/src/test/cord-api/Properties/
Kailash Khalasidf9b66e2018-08-28 09:10:20 -0700275 sed -i \"s/^\\(SERVER_IP = \\).*/\\1\'${deployment_config.nodes[0].ip}\'/\" RestApiProperties.py
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700276 sed -i \"s/^\\(SERVER_PORT = \\).*/\\1\'30006\'/\" RestApiProperties.py
277 sed -i \"s/^\\(XOS_USER = \\).*/\\1\'admin@opencord.org\'/\" RestApiProperties.py
278 sed -i \"s/^\\(XOS_PASSWD = \\).*/\\1\'letmein\'/\" RestApiProperties.py
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700279 cd $WORKSPACE/cord-tester/src/test/cord-api/Tests/
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700280 rm -rf Log/ || true
You Wangbf560622018-09-28 13:12:55 -0700281 pybot -d Log -T -l log-FabricConfig FabricConfig.txt || true
282 pybot -d Log -T -l log-HippieOSS HippieOSS.txt || true
Suchitra Vemuria31f5ee2018-08-15 15:32:22 -0700283 sleep 5
You Wangbf560622018-09-28 13:12:55 -0700284 pybot -d Log -T -l log-OSSVolt OSSVolt.txt || true
285 pybot -d Log -T -l log-RealOLT_Test RealOLT_Test.txt || true
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700286 """
Luca Prete57c87d52018-08-27 16:54:13 -0700287 }
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700288 }
Luca Prete57c87d52018-08-27 16:54:13 -0700289 stage('Subscriber Validation and Ping Tests') {
Kailash Khalasidf9b66e2018-08-28 09:10:20 -0700290 timeout(30) {
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700291 sh """
You Wange153b0f2018-08-29 13:50:04 -0700292 export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700293 cd $WORKSPACE/cord-tester/src/test/cord-api/Tests/
You Wangbf560622018-09-28 13:12:55 -0700294 pybot -d Log -T -l log-HippieOSS_instances HippieOSS_instances.txt || true
295 pybot -d Log -T -l log-Subscriber_StatusChecks -v src_ip:${deployment_config.srcHost.ip} -v src_user:${deployment_config.srcHost.user} -v src_pass:${deployment_config.srcHost.pass} -v dst_user:${deployment_config.dstHost.user} -v dst_pass:${deployment_config.dstHost.pass} -v dst_ip:${deployment_config.dstHost.ip} -v dst_host_ip:${deployment_config.dstHost.hostIp} -v src_gateway:${deployment_config.srcHost.gateway} -v dst_gateway:${deployment_config.dstHost.gateway} -v init_state:awaiting-auth -v INITIAL_STATUS:FAIL -v ENABLE_STATUS:FAIL -v MACIP_STATUS:PASS Subscriber_StatusChecks.txt || true
Kailash Khalasi62267102018-08-16 11:38:44 -0700296 """
Luca Prete57c87d52018-08-27 16:54:13 -0700297 }
Suchitra Vemuria31f5ee2018-08-15 15:32:22 -0700298 }
Luca Prete57c87d52018-08-27 16:54:13 -0700299 stage('Publish test results') {
300 sh returnStdout: true, script: """
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700301 if [ -d RobotLogs ]; then rm -r RobotLogs; fi; mkdir RobotLogs;
302 mkdir RobotLogs/TestDoc || true
You Wange153b0f2018-08-29 13:50:04 -0700303 cp -r $WORKSPACE/cord-tester/src/test/robot/Log/* $WORKSPACE/RobotLogs || true
Kailash Khalasi721b5a02018-08-28 08:57:11 -0700304 cp -r $WORKSPACE/cord-tester/src/test/cord-api/Tests/Log/* $WORKSPACE/RobotLogs || true
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700305 """
306 step([$class: 'RobotPublisher',
307 disableArchiveOutput: false,
308 logFileName: 'RobotLogs/log*.html',
309 otherFiles: '',
310 outputFileName: 'RobotLogs/output*.xml',
311 outputPath: '.',
312 passThreshold: 100,
313 reportFileName: 'RobotLogs/report*.html',
Luca Prete57c87d52018-08-27 16:54:13 -0700314 unstableThreshold: 0
315 ])
316 }
317 currentBuild.result = 'SUCCESS'
318 } catch (err) {
319 currentBuild.result = 'FAILURE'
320 step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "${notificationEmail}", sendToIndividuals: false])
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700321 }
Luca Prete57c87d52018-08-27 16:54:13 -0700322 echo "RESULT: ${currentBuild.result}"
Suchitra Vemurif126e7e2018-08-01 11:31:11 -0700323 }
324}