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

[cicd] deployment to testserver, curl syntax fixed

parent 5ac09e69
Pipeline #224 failed with stage
in 1 second
...@@ -33,8 +33,9 @@ pages-devel: ...@@ -33,8 +33,9 @@ pages-devel:
- cp -r includes .public - cp -r includes .public
- cp *.html .public - cp *.html .public
- mv .public public - mv .public public
- UPLOADPATH=file://$(pwd)/public - cd public
- curl --upload-file $UPLOADPATH -u tomcat:$TOMCATPASS "https://m4lab.hft-stuttgart.de/manager/text/deploy?path=/ROOT&update=true" - 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: artifacts:
paths: paths:
- public - public
......
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