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:
artifacts:
paths:
- public
tags:
- production
only:
- master
......@@ -34,11 +36,11 @@ pages-devel:
- cp -r includes .public
- cp *.html .public
- mv .public public
- cd public
- /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"
- cp -r public/* "$EXPORT_PAGES_DIR"
artifacts:
paths:
- public
tags:
- testing
only:
- 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