Commit b07768b6 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier

In ".gitlab-ci.yml", added documentation and commented out "script" section in...

In ".gitlab-ci.yml", added documentation and commented out "script" section in ".gitlab/ci/templates/deploy_stage_templates.yml".
parent c289171a
Pipeline #89199 passed with stage
in 13 seconds
......@@ -13,6 +13,9 @@
# # commands. If any of the commands return a
# # non-zero exit code, the job fails.
#
# Procedure: Use GitLab job templates in ".gitlab/ci/templates/" and use them
# "here" by using the "extend" keyword.
#
# ## References
#
# - https://docs.gitlab.com/ee/ci/yaml/README.html
......@@ -21,6 +24,7 @@
variables:
VADERE_DEPLOYMENT_BASE_URL: "http://www.vadere.org/builds"
VADERE_PACKAGE_NAME: "vadere.${CI_COMMIT_REF_NAME}.${CI_ENVIRONMENT_NAME}"
# Stage Definitions
stages:
- deploy
......
......@@ -9,10 +9,11 @@
.template_deploy_branch:
stage: deploy
script:
- export
- mvn clean
- mvn -Dmaven.test.skip=true package
- python3 -m zipfile --create ${VADERE_PACKAGE_NAME}.zip VadereModelTests/ VadereGui/target/vadere.jar VadereSimulator/target/vadere-console.jar
- scp ${VADERE_PACKAGE_NAME}.zip di49mur@webdev-mwn.lrz.de:~/webserver/htdocs/builds/branches/${VADERE_PACKAGE_NAME}.zip
when: manual
# - mvn -Dmaven.test.skip=true package
# - python3 -m zipfile --create ${VADERE_PACKAGE_NAME}.zip VadereModelTests/ VadereGui/target/vadere.jar VadereSimulator/target/vadere-console.jar
# - scp ${VADERE_PACKAGE_NAME}.zip di49mur@webdev-mwn.lrz.de:~/webserver/htdocs/builds/branches/${VADERE_PACKAGE_NAME}.zip
when: always
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