Commit 9ae71c8f authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

Replaced non-existing variable "$CI_COMMIT_SHORT_SHA" by "${CI_COMMIT_SHA:0:8}".

parent f5b35047
Pipeline #89120 passed with stage
in 11 seconds
......@@ -52,5 +52,5 @@
.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_SHORT_SHA.$CI_ENVIRONMENT_NAME.jar"
- 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
......@@ -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_SHORT_SHA.$CI_ENVIRONMENT_NAME.jar
url: $VADERE_DEPLOYMENT_BASE_URL/branches/vadere-latest.$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