From 911017127b8c27190371e35959d4fd184da7ce62 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de> Date: Fri, 22 Nov 2019 16:48:19 +0100 Subject: [PATCH] [cicd] deployment to testserver, jar hardcoded --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 259c06b..d0f7a1a 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,6 @@ pages-devel: stage: deploy script: - echo $EXPORT_PAGES_DIR - - which jar - mkdir .public - cp -r css .public - cp -r images .public @@ -36,7 +35,7 @@ pages-devel: - cp *.html .public - mv .public public - cd public - - jar -cvf ROOT.war * + - /opt/jdk-12/bin/jar -cvf ROOT.war * - curl --upload-file ROOT.war -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/ROOT&update=true" artifacts: paths: -- GitLab