Full implementation of "Update Webgoat Dockerfile to use entrypoints and commands #523" based on the pull request of Nicklaus McClendon

This commit is contained in:
Nanne Baars
2019-01-17 14:49:42 +01:00
parent ed490a5ecf
commit dc5f9880af
5 changed files with 19 additions and 5 deletions

4
scripts/build-all.sh Normal file → Executable file
View File

@ -7,13 +7,13 @@ SUCCESS=$?
nc -zv 127.0.0.1 9090 2>/dev/null
SUCCESS=${SUCCESS}$?
if [[ "${SUCCESS}" -eq 00 ]] ; then
if [[ "${SUCCESS}" -eq 0 ]] ; then
echo "WebGoat and or WebWolf are still running, please stop them first otherwise unit tests might fail!"
exit 127
fi
mvn clean install
sh mvnw clean install
if [[ "$?" -ne 0 ]] ; then
exit y$?
fi