Fix buildscripts to wait for Docker and build snapshots

This commit is contained in:
Nanne Baars
2018-08-08 18:23:27 +02:00
parent 1252e3dc21
commit bca8b3c650
3 changed files with 11 additions and 9 deletions

View File

@ -13,15 +13,17 @@ if [[ "${SUCCESS}" -eq 00 ]] ; then
fi
#mvn clean install
#if [[ "$?" -ne 0 ]] ; then
# exit y$?
#fi
mvn clean install
if [[ "$?" -ne 0 ]] ; then
exit y$?
fi
cd -
sh build_docker.sh
if [[ "$?" -ne 0 ]] ; then
exit y$?
fi
echo "Do you want to run docker-compose?"
while true; do
read -p "Do you want to run docker-compose?" yn
case ${yn} in
@ -29,4 +31,4 @@ while true; do
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
done