Commit 5c5ff37b authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

In ".gitlab-ci.yml" and ".gitlab-ci-templates.yml", use "${...}" notation to...

In ".gitlab-ci.yml" and ".gitlab-ci-templates.yml", use "${...}" notation to expand variables instead of "$...".

Furthermore, added "manual" trigger to job template ".template_deploy_branch".
parent 9ae71c8f
Pipeline #89126 passed with stage
in 11 seconds
......@@ -16,6 +16,7 @@
- mvn clean
- mvn -Dtest=!TestConvolution,!TestBitonicSort,!TestCLLinkedList,!TestCLOptimalStepsModel test
- python3 Tools/ContinuousIntegration/collect_line_and_branch_coverage.py
artifacts:
when: on_success
paths:
......@@ -29,6 +30,7 @@
- mvn clean
- mvn -Dmaven.test.skip=true package
- python3 Tools/ContinuousIntegration/run_vadere_console_with_all_scenario_files.py
artifacts:
when: on_failure
paths:
......@@ -43,6 +45,7 @@
- mvn -Dmaven.test.skip=true package
- python3 Tools/VadereAnalysisTools/VadereAnalysisTool/setup.py install --user
- python3 Tools/ContinuousIntegration/run_seed_comparison_test.py
artifacts:
when: on_failure
paths:
......@@ -51,6 +54,8 @@
.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"
- export
- 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
......@@ -36,4 +36,4 @@ deploy_branch_on_windows:
- windows
environment:
name: windows
url: $VADERE_DEPLOYMENT_BASE_URL/branches/vadere-latest.$CI_COMMIT_REF_NAME.${CI_COMMIT_SHA:0:8}.$CI_ENVIRONMENT_NAME.jar
url: ${VADERE_DEPLOYMENT_BASE_URL}/branches/vadere-console.${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA:0:8}.${CI_ENVIRONMENT_NAME}.jar"
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