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:
4
scripts/build-all.sh
Normal file → Executable file
4
scripts/build-all.sh
Normal file → Executable 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
|
||||
|
Reference in New Issue
Block a user