Skip to content
Snippets Groups Projects
Commit c283ee66 authored by Luis Fernando Gomes's avatar Luis Fernando Gomes
Browse files

Add default value to $APP_TARGET

parent 5f477fe4
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,9 @@
set -e
APP_TARGET=${APP_TARGET:-target}
echo "---> Starting Spring Boot application"
echo "--> # APP_TARGET = $APP_TARGET"
echo "--> # JAVA_OPTS = $JAVA_OPTS"
echo "---> Running application from jar ($(find $APP_TARGET -name *.jar)) ..."
java $JAVA_OPTS -jar `find $APP_TARGET -name *.jar`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment