Commit c283ee66 by Luis Fernando Gomes

Add default value to $APP_TARGET

parent 5f477fe4
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
set -e set -e
APP_TARGET=${APP_TARGET:-target}
echo "---> Starting Spring Boot application" echo "---> Starting Spring Boot application"
echo "--> # APP_TARGET = $APP_TARGET" echo "--> # APP_TARGET = $APP_TARGET"
echo "--> # JAVA_OPTS = $JAVA_OPTS" echo "--> # JAVA_OPTS = $JAVA_OPTS"
echo "---> Running application from jar ($(find $APP_TARGET -name *.jar)) ..."
java $JAVA_OPTS -jar `find $APP_TARGET -name *.jar` java $JAVA_OPTS -jar `find $APP_TARGET -name *.jar`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment