TT#4166 Fail deployment.sh if ngcp-dumps-upload-to-sipwise has failed

Change-Id: Ie35f41178aaaaaa5393c2fcae520a0be3145ec94
changes/57/8757/2
Alexander Lutay 9 years ago
parent e7fac3a84e
commit 92db066ace

@ -1664,7 +1664,9 @@ EOT
if $TRUNK_VERSION && checkBootParam ngcpupload ; then
set_deploy_status "upload_data"
grml-chroot $TARGET apt-get -y install ngcp-dev-tools
grml-chroot $TARGET ngcp-dumps-upload-to-sipwise
if ! grml-chroot $TARGET ngcp-dumps-upload-to-sipwise ; then
die "Error: Failed to upload dumps to sipwise. Exiting."
fi
set_deploy_status "ngcp-installer"
fi

Loading…
Cancel
Save