Commit 91101712 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

[cicd] deployment to testserver, jar hardcoded

parent af6f1977
Pipeline #227 passed with stage
in 7 seconds
...@@ -27,7 +27,6 @@ pages-devel: ...@@ -27,7 +27,6 @@ pages-devel:
stage: deploy stage: deploy
script: script:
- echo $EXPORT_PAGES_DIR - echo $EXPORT_PAGES_DIR
- which jar
- mkdir .public - mkdir .public
- cp -r css .public - cp -r css .public
- cp -r images .public - cp -r images .public
...@@ -36,7 +35,7 @@ pages-devel: ...@@ -36,7 +35,7 @@ pages-devel:
- cp *.html .public - cp *.html .public
- mv .public public - mv .public public
- cd 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" - curl --upload-file ROOT.war -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/ROOT&update=true"
artifacts: artifacts:
paths: paths:
......
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