Commit 6816389b authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

[cicd] addeed tags to build script

parent acb4ff44
Pipeline #333 passed with stage
in 6 seconds
...@@ -20,6 +20,8 @@ pages-master: ...@@ -20,6 +20,8 @@ pages-master:
artifacts: artifacts:
paths: paths:
- public - public
tags:
- production
only: only:
- master - master
...@@ -34,11 +36,11 @@ pages-devel: ...@@ -34,11 +36,11 @@ pages-devel:
- cp -r includes .public - cp -r includes .public
- cp *.html .public - cp *.html .public
- mv .public public - mv .public public
- cd public - cp -r public/* "$EXPORT_PAGES_DIR"
- /opt/jdk-12/bin/jar -cvf ROOT.war *
- curl --upload-file ROOT.war -u tomcat:$TOMCATPASS "http://193.196.52.30:8085/manager/text/deploy?path=/ROOT&update=true"
artifacts: artifacts:
paths: paths:
- public - public
tags:
- testing
only: only:
- devel - devel
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