Commit 9213c246 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

Moved ".gitlab-ci-templates.yml" to new folder ".gitlab/ci_templates/".

parent 5c5ff37b
......@@ -25,7 +25,8 @@ variables:
stages:
- deploy
include: .gitlab-ci-templates.yml
include: .gitlab/ci_templates/deploy_stage_templates.yml
include: .gitlab/ci_templates/test_stage_templates.yml
# Job Definitions
......
# # GitLab CI Job Templates
#
# These templates can be used to execute jobs on different runners.
#
# Use GitLab's "include" keyword to include this file and the "extends" to
# extend a template below.
#
# For more details, see https://docs.gitlab.com/ee/ci/yaml/README.html#using-extends-and-include-together
.template_deploy_branch:
stage: deploy
# TODO: Write scipt "package_vadere.py" which packages "vadere_console.jar", "vadere.jar"
# and folder "VadereModelTests" into one ZIP file.
# Pass GitLab CI variables (like below) to create filenames for JAR files and final ZIP file.
script:
- mvn clean
- mvn package
- scp VadereSimulator/target/vadere-console.jar di49mur@webdev-mwn.lrz.de:~/webserver/htdocs/builds/branches/vadere-console.${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA:0:8}.${CI_ENVIRONMENT_NAME}.jar
when: manual
......@@ -51,11 +51,3 @@
paths:
- "Tools/ContinuousIntegration/run_seed_comparison_test.d/output"
expire_in: 1 week
.template_deploy_branch:
stage: deploy
script:
- echo "scp VadereSimulator/target/vadere-console.jar di49mur@webdev-mwn.lrz.de:~/webserver/htdocs/builds/branches/vadere-console.${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA:0:8}.${CI_ENVIRONMENT_NAME}.jar"
when: manual
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