Commit 663619a6 by Benedikt

Add mvnw detection to assemble script

parent 1ea02612
...@@ -6,7 +6,11 @@ echo "---> Installing application source" ...@@ -6,7 +6,11 @@ echo "---> Installing application source"
cp -Rf /tmp/src/. ./ cp -Rf /tmp/src/. ./
echo "---> Building Spring Boot application from source" echo "---> Building Spring Boot application from source"
mvn clean install if [ -f "mvnw" ]; then
./mvnw clean install
else
mvn clean install
fi
# Fix source directory permissions # Fix source directory permissions
fix-permissions ./ fix-permissions ./
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