Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 1 | // 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 | |
| 15 | // chart-api-test-helm.groovy |
| 16 | // Checks functionality of the helm-chart, without overriding the version/tag used |
| 17 | |
Matteo Scandolo | 5c6a480 | 2019-05-14 10:44:21 -0700 | [diff] [blame] | 18 | def serviceName = "${gerritProject}" |
| 19 | |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 20 | pipeline { |
| 21 | |
| 22 | /* no label, executor is determined by JJB */ |
| 23 | agent { |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 24 | label "${params.buildNode}" |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | stages { |
| 28 | |
| 29 | stage('repo') { |
| 30 | steps { |
| 31 | checkout(changelog: false, \ |
| 32 | poll: false, |
| 33 | scm: [$class: 'RepoScm', \ |
| 34 | manifestRepositoryUrl: "${params.manifestUrl}", \ |
| 35 | manifestBranch: "${params.manifestBranch}", \ |
| 36 | currentBranch: true, \ |
| 37 | destinationDir: 'cord', \ |
| 38 | forceSync: true, |
| 39 | resetFirst: true, \ |
| 40 | quiet: true, \ |
| 41 | jobs: 4, \ |
| 42 | showAllChanges: true] \ |
| 43 | ) |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | stage('patch') { |
| 48 | steps { |
| 49 | sh ''' |
| 50 | pushd cord |
Zack Williams | de1c621 | 2020-02-24 17:00:17 -0700 | [diff] [blame] | 51 | PROJECT_PATH=\$(xmllint --xpath "string(//project[@name=\\\"${gerritProject}\\\"]/@path)" .repo/manifests/default.xml) |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 52 | repo download "\$PROJECT_PATH" "${gerritChangeNumber}/${gerritPatchsetNumber}" |
| 53 | popd |
| 54 | ''' |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | stage('minikube') { |
| 59 | steps { |
| 60 | /* see https://github.com/kubernetes/minikube/#linux-continuous-integration-without-vm-support */ |
| 61 | sh ''' |
| 62 | export MINIKUBE_WANTUPDATENOTIFICATION=false |
| 63 | export MINIKUBE_WANTREPORTERRORPROMPT=false |
| 64 | export CHANGE_MINIKUBE_NONE_USER=true |
| 65 | export MINIKUBE_HOME=$HOME |
| 66 | mkdir -p $HOME/.kube || true |
| 67 | touch $HOME/.kube/config |
| 68 | export KUBECONFIG=$HOME/.kube/config |
| 69 | sudo -E /usr/bin/minikube start --vm-driver=none |
| 70 | ''' |
| 71 | script { |
| 72 | timeout(3) { |
| 73 | waitUntil { |
| 74 | sleep 5 |
Zack Williams | d7af207 | 2020-03-06 13:11:26 -0700 | [diff] [blame] | 75 | def kc_ret = sh script: "kubectl get pods", returnStatus: true |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 76 | return (kc_ret == 0); |
| 77 | } |
| 78 | } |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | stage('helm') { |
| 84 | steps { |
| 85 | sh ''' |
| 86 | helm init |
| 87 | sleep 60 |
| 88 | helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/ |
Carmelo Cascone | 319b34c | 2020-01-14 16:48:07 -0800 | [diff] [blame] | 89 | helm repo add cord https://charts.opencord.org |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 90 | ''' |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | stage('Install XOS w/Service') { |
| 95 | steps { |
Kailash | 5f300b9 | 2019-05-21 14:04:19 -0700 | [diff] [blame] | 96 | script { |
| 97 | if (serviceName == "olt-service") { |
| 98 | serviceName = "volt" |
| 99 | } |
| 100 | else if (serviceName == "onos-service") { |
| 101 | serviceName = "onos" |
| 102 | } |
| 103 | else if (serviceName == "kubernetes-service") { |
| 104 | serviceName = "kubernetes" |
| 105 | } |
| 106 | } |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 107 | sh """ |
| 108 | #!/usr/bin/env bash |
| 109 | set -eu -o pipefail |
| 110 | |
| 111 | pushd cord/helm-charts |
| 112 | helm dep update xos-core |
| 113 | helm install xos-core -n xos-core |
| 114 | |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 115 | helm-repo-tools/wait_for_pods.sh |
| 116 | |
| 117 | #install service |
Kailash | 5f300b9 | 2019-05-21 14:04:19 -0700 | [diff] [blame] | 118 | helm dep update xos-services/${serviceName} |
| 119 | helm install xos-services/${serviceName} -n ${serviceName} |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 120 | popd |
| 121 | """ |
| 122 | } |
| 123 | } |
| 124 | stage('Verify') { |
| 125 | steps { |
Matteo Scandolo | 5c6a480 | 2019-05-14 10:44:21 -0700 | [diff] [blame] | 126 | echo "serviceName: ${serviceName}" |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 127 | sh """ |
| 128 | #!/usr/bin/env bash |
| 129 | set -ex -o pipefail |
| 130 | export DOCKER_TAG=\$(cat $WORKSPACE/cord/orchestration/xos/VERSION) |
| 131 | |
| 132 | #wait for xos-core and models to be loaded |
| 133 | timeout 300 bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status | jq '.services[] | select(.name==\\"core\\").state'| grep -q present; do echo 'Waiting for Core to be loaded'; sleep 5; done" |
Matteo Scandolo | 5c6a480 | 2019-05-14 10:44:21 -0700 | [diff] [blame] | 134 | timeout 300 bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status | jq '.services[] | select(.name==\\"${serviceName}\\").state'| grep -q present; do echo 'Waiting for Core to be loaded'; sleep 5; done" |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 135 | |
| 136 | ## get pod logs |
| 137 | for pod in \$(kubectl get pods --no-headers | awk '{print \$1}'); |
| 138 | do |
Daniele Moro | a5f0078 | 2020-02-24 11:23:46 -0800 | [diff] [blame] | 139 | kubectl logs \${pod} > $WORKSPACE/\${pod}_pre.log; |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 140 | done |
| 141 | """ |
| 142 | } |
| 143 | } |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 144 | stage('Generate Model API Tests') { |
| 145 | steps { |
| 146 | sh """ |
| 147 | CORE_CONTAINER=\$(docker ps | grep k8s_xos-core | awk '{print \$1}') |
| 148 | cd $WORKSPACE/cord/test/cord-tester |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 149 | docker cp $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/targets/xosserviceupgradetest.xtarget \$CORE_CONTAINER:/opt/xos/lib/xos-genx/xosgenx/targets/xosserviceupgradetest.xtarget |
| 150 | docker cp $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/targets/xosstaticlibrary.xtarget \$CORE_CONTAINER:/opt/xos/lib/xos-genx/xosgenx/targets/xosstaticlibrary.xtarget |
| 151 | |
| 152 | export testname=_service_api.robot |
| 153 | export library=_library.robot |
| 154 | |
| 155 | SERVICES=\$(docker exec -i \$CORE_CONTAINER /bin/bash -c "cd /opt/xos/dynamic_services/;find -name '*.xproto'" | awk -F[//] '{print \$2}') |
| 156 | echo \$SERVICES |
| 157 | |
| 158 | for i in \$SERVICES; do bash -c "docker exec -i \$CORE_CONTAINER /bin/bash -c 'xosgenx --target /opt/xos/lib/xos-genx/xosgenx/targets/./xosserviceupgradetest.xtarget /opt/xos/dynamic_services/\$i/\$i.xproto /opt/xos/core/models/core.xproto'" > $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/\$i\$testname; done |
| 159 | |
| 160 | for i in \$SERVICES; do bash -c "docker exec -i \$CORE_CONTAINER /bin/bash -c 'xosgenx --target /opt/xos/lib/xos-genx/xosgenx/targets/./xosstaticlibrary.xtarget /opt/xos/dynamic_services/\$i/\$i.xproto /opt/xos/core/models/core.xproto'" > $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/\$i\$library; done |
| 161 | ls -al $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/ |
| 162 | """ |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | stage('Test Pre-Upgrade') { |
| 167 | steps { |
| 168 | sh """ |
Zack Williams | d7af207 | 2020-03-06 13:11:26 -0700 | [diff] [blame] | 169 | #!/usr/bin/env bash |
| 170 | set -ex -o pipefail |
| 171 | |
| 172 | pushd cord/test/cord-tester |
| 173 | make venv_cord |
| 174 | source venv_cord/bin/activate |
| 175 | cd src/test/cord-api/Tests |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 176 | |
| 177 | CORE_CONTAINER=\$(docker ps | grep k8s_xos-core | awk '{print \$1}') |
| 178 | CHAM_CONTAINER=\$(docker ps | grep k8s_xos-chameleon | awk '{print \$1}') |
| 179 | XOS_CHAMELEON=\$(docker exec \$CHAM_CONTAINER ip a | grep -oE "([0-9]{1,3}\\.){3}[0-9]{1,3}\\b" | grep 172) |
| 180 | |
| 181 | cd $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Properties/ |
| 182 | sed -i \"s/^\\(SERVER_IP = \\).*/\\1\'\$XOS_CHAMELEON\'/\" RestApiProperties.py |
| 183 | sed -i \"s/^\\(SERVER_PORT = \\).*/\\1\'9101\'/\" RestApiProperties.py |
| 184 | sed -i \"s/^\\(XOS_USER = \\).*/\\1\'admin@opencord.org\'/\" RestApiProperties.py |
| 185 | sed -i \"s/^\\(XOS_PASSWD = \\).*/\\1\'letmein\'/\" RestApiProperties.py |
| 186 | sed -i \"s/^\\(PASSWD = \\).*/\\1\'letmein\'/\" RestApiProperties.py |
| 187 | |
| 188 | export testname=_service_api.robot |
| 189 | export library=_library.robot |
| 190 | SERVICES=\$(docker exec -i \$CORE_CONTAINER /bin/bash -c "cd /opt/xos/dynamic_services/;find -name '*.xproto'" | awk -F[//] '{print \$2}') |
| 191 | echo \$SERVICES |
| 192 | |
| 193 | cd $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests |
Matteo Scandolo | 5c6a480 | 2019-05-14 10:44:21 -0700 | [diff] [blame] | 194 | for i in \$SERVICES; do bash -c "robot -v SETUP_FLAG:Setup -i create -d Log -T -v TESTLIBRARY:${serviceName}_library.robot \$i\$testname"; sleep 2; done || true |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 195 | |
| 196 | popd |
| 197 | """ |
| 198 | } |
| 199 | } |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 200 | |
| 201 | stage('Build/Install New Service') { |
| 202 | steps { |
| 203 | sh """ |
| 204 | #!/usr/bin/env bash |
| 205 | set -eu -o pipefail |
Zack Williams | d7af207 | 2020-03-06 13:11:26 -0700 | [diff] [blame] | 206 | |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 207 | pushd $WORKSPACE/cord/orchestration/xos-services/${gerritProject} |
| 208 | export DOCKER_TAG=\$(cat VERSION)-test |
| 209 | export DOCKER_REPOSITORY=xosproject/ |
| 210 | export DOCKER_BUILD_ARGS=--no-cache |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 211 | echo "\$(cat VERSION)-test" > VERSION |
| 212 | make docker-build |
| 213 | |
| 214 | #install newservice |
| 215 | cd $WORKSPACE/cord/helm-charts |
| 216 | helm upgrade --set image.tag=\$DOCKER_TAG \ |
| 217 | --set image.pullPolicy=Never \ |
Kailash | 5f300b9 | 2019-05-21 14:04:19 -0700 | [diff] [blame] | 218 | --recreate-pods ${serviceName} xos-services/${serviceName} |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 219 | popd |
| 220 | """ |
| 221 | } |
| 222 | } |
Kailash | 44fd62c | 2019-04-30 10:26:31 -0700 | [diff] [blame] | 223 | |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 224 | stage('Verify Service Upgrade') { |
| 225 | steps { |
| 226 | sh """ |
| 227 | #!/usr/bin/env bash |
| 228 | set -ex -o pipefail |
| 229 | DOCKER_TAG=\$(cat $WORKSPACE/cord/orchestration/xos-services/${gerritProject}/VERSION) |
| 230 | |
| 231 | #wait for xos-core and models to be loaded |
| 232 | timeout 300 bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status | jq '.services[] | select(.name==\\"core\\").state'| grep -q present; do echo 'Waiting for Core to be loaded'; sleep 5; done" |
Matteo Scandolo | 5c6a480 | 2019-05-14 10:44:21 -0700 | [diff] [blame] | 233 | timeout 300 bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status | jq '.services[] | select(.name==\\"${serviceName}\\").state'| grep -q present; do echo 'Waiting for New Service to be loaded'; sleep 5; done" |
| 234 | timeout 300 bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status | jq '.services[] | select(.name==\\"${serviceName}\\").version'| grep -q \$DOCKER_TAG; do echo 'Waiting for New Service Version Check'; sleep 5; done" |
Kailash | 4590ca1 | 2019-04-30 14:49:22 -0700 | [diff] [blame] | 235 | sleep 120 |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 236 | """ |
| 237 | } |
| 238 | } |
Kailash | 44fd62c | 2019-04-30 10:26:31 -0700 | [diff] [blame] | 239 | |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 240 | stage('Test Post-Upgrade') { |
| 241 | steps { |
| 242 | sh """ |
Zack Williams | d7af207 | 2020-03-06 13:11:26 -0700 | [diff] [blame] | 243 | #!/usr/bin/env bash |
| 244 | set -ex -o pipefail |
| 245 | |
| 246 | cd cord/test/cord-tester |
| 247 | make venv_cord |
| 248 | source venv_cord/bin/activate |
| 249 | cd src/test/cord-api/Tests |
| 250 | |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 251 | CORE_CONTAINER=\$(docker ps | grep k8s_xos-core | awk '{print \$1}') |
| 252 | |
| 253 | export testname=_service_api.robot |
| 254 | export library=_library.robot |
| 255 | SERVICES=\$(docker exec -i \$CORE_CONTAINER /bin/bash -c "cd /opt/xos/dynamic_services/;find -name '*.xproto'" | awk -F[//] '{print \$2}') |
| 256 | echo \$SERVICES |
Matteo Scandolo | 5c6a480 | 2019-05-14 10:44:21 -0700 | [diff] [blame] | 257 | for i in \$SERVICES; do bash -c "robot -v SETUP_FLAG:Setup -i get -d Log -T -v TESTLIBRARY:${serviceName}_library.robot \$i\$testname"; sleep 2; done || true |
Kailash | 44fd62c | 2019-04-30 10:26:31 -0700 | [diff] [blame] | 258 | """ |
| 259 | } |
| 260 | } |
| 261 | |
Andy Bavier | e053ad3 | 2019-05-09 13:58:34 -0700 | [diff] [blame] | 262 | /* Disable the downgrade step because the core doesn't support reverse migrations |
Kailash | 44fd62c | 2019-04-30 10:26:31 -0700 | [diff] [blame] | 263 | stage('Downgrade Service') { |
| 264 | steps { |
| 265 | sh """ |
| 266 | #!/usr/bin/env bash |
| 267 | set -eu -o pipefail |
| 268 | |
| 269 | pushd cord/helm-charts |
| 270 | #delete service |
| 271 | helm delete --purge ${gerritProject} |
| 272 | |
| 273 | #re-install service with previous version |
| 274 | helm dep update xos-services/${gerritProject} |
| 275 | helm install xos-services/${gerritProject} -n ${gerritProject} |
| 276 | |
| 277 | #wait for xos-core and models to be loaded |
| 278 | timeout 300 bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status | jq '.services[] | select(.name==\\"core\\").state'| grep -q present; do echo 'Waiting for Core to be loaded'; sleep 5; done" |
| 279 | timeout 300 bash -c "until http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status | jq '.services[] | select(.name==\\"${gerritProject}\\").state'| grep -q present; do echo 'Waiting for Service to be loaded'; sleep 5; done" |
Kailash | 4590ca1 | 2019-04-30 14:49:22 -0700 | [diff] [blame] | 280 | sleep 120 |
Zack Williams | d7af207 | 2020-03-06 13:11:26 -0700 | [diff] [blame] | 281 | |
| 282 | cd $WORKSPACE/cord/test/cord-tester |
| 283 | make venv_cord |
| 284 | source venv_cord/bin/activate |
| 285 | cd src/test/cord-api/Tests |
Kailash | 44fd62c | 2019-04-30 10:26:31 -0700 | [diff] [blame] | 286 | |
| 287 | CORE_CONTAINER=\$(docker ps | grep k8s_xos-core | awk '{print \$1}') |
| 288 | |
| 289 | export testname=_service_api.robot |
| 290 | export library=_library.robot |
| 291 | SERVICES=\$(docker exec -i \$CORE_CONTAINER /bin/bash -c "cd /opt/xos/dynamic_services/;find -name '*.xproto'" | awk -F[//] '{print \$2}') |
Zack Williams | d7af207 | 2020-03-06 13:11:26 -0700 | [diff] [blame] | 292 | |
Kailash | 44fd62c | 2019-04-30 10:26:31 -0700 | [diff] [blame] | 293 | echo \$SERVICES |
| 294 | for i in \$SERVICES; do bash -c "robot -v SETUP_FLAG:Setup -i get -d Log -T -v TESTLIBRARY:${gerritProject}_library.robot \$i\$testname"; sleep 2; done || true |
| 295 | |
| 296 | ## get pod logs |
| 297 | for pod in \$(kubectl get pods --no-headers | awk '{print \$1}'); |
| 298 | do |
| 299 | kubectl logs \$pod> $WORKSPACE/\$pod.log; |
| 300 | done || true |
| 301 | |
| 302 | popd |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 303 | """ |
| 304 | } |
| 305 | } |
Andy Bavier | e053ad3 | 2019-05-09 13:58:34 -0700 | [diff] [blame] | 306 | */ |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 307 | |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 308 | } |
Kailash | 44fd62c | 2019-04-30 10:26:31 -0700 | [diff] [blame] | 309 | |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 310 | post { |
| 311 | always { |
| 312 | sh """ |
Daniele Moro | a5f0078 | 2020-02-24 11:23:46 -0800 | [diff] [blame] | 313 | ## get pod logs |
| 314 | for pod in \$(kubectl get pods --no-headers | awk '{print \$1}'); |
| 315 | do |
| 316 | kubectl logs \${pod} > $WORKSPACE/\${pod}_post.log; |
| 317 | done |
| 318 | |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 319 | # copy robot logs |
| 320 | if [ -d RobotLogs ]; then rm -r RobotLogs; fi; mkdir RobotLogs |
| 321 | cp -r $WORKSPACE/cord/test/cord-tester/src/test/cord-api/Tests/Log/*ml ./RobotLogs |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 322 | kubectl get pods --all-namespaces |
| 323 | kubectl describe pods |
| 324 | http -a admin@opencord.org:letmein GET http://127.0.0.1:30001/xosapi/v1/dynamicload/load_status |
| 325 | echo "# removing helm deployments" |
| 326 | kubectl get pods |
| 327 | helm list |
| 328 | |
| 329 | for hchart in \$(helm list -q); |
| 330 | do |
| 331 | echo "## Purging chart: \${hchart} ##" |
| 332 | helm delete --purge "\${hchart}" |
| 333 | done |
| 334 | |
| 335 | sudo minikube delete |
| 336 | """ |
Kailash | f5c3f2b | 2019-04-30 08:58:49 -0700 | [diff] [blame] | 337 | step([$class: 'RobotPublisher', |
| 338 | disableArchiveOutput: false, |
| 339 | logFileName: 'RobotLogs/log*.html', |
| 340 | otherFiles: '', |
| 341 | outputFileName: 'RobotLogs/output*.xml', |
| 342 | outputPath: '.', |
| 343 | passThreshold: 100, |
| 344 | reportFileName: 'RobotLogs/report*.html', |
| 345 | unstableThreshold: 0]); |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 346 | archiveArtifacts artifacts: '*.log' |
Zack Williams | d7af207 | 2020-03-06 13:11:26 -0700 | [diff] [blame] | 347 | step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "scottb@opennetworking.org", sendToIndividuals: false]) |
Kailash | 66c389c | 2019-04-24 14:56:11 -0700 | [diff] [blame] | 348 | } |
| 349 | } |
| 350 | } |