Commit 5813210e authored by Franz Reischl's avatar Franz Reischl
Browse files

CI: Testing for Webapps directory before copy

parent e773157b
Pipeline #378 passed with stages
in 2 minutes and 27 seconds
......@@ -45,7 +45,8 @@ rest_test_tomcat:
- ls target
# - ls $TOMCAT_WEB_DIR # <-- This line does not work
# Copy packaged WAR file into Tomcat container
- cp target/*.war .
- if test ! -d $TOMCAT_WEB_DIR; then mkdir $TOMCAT_WEB_DIR; fi
- cp target/*.war $TOMCAT_WEB_DIR
- sleep 60 # Waiting for tomcat to auto-deploy WAR
# Installing npm
- apk update
......
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