04.07., 9:00 - 11:00: Due to updates GitLab will be unavailable for some minutes between 09:00 and 11:00.

Commit 682d521c authored by hm-lehmberg's avatar hm-lehmberg

WIP: define variable

parent 95f7bc1d
Pipeline #89189 passed with stage
in 1 minute and 59 seconds
......@@ -20,7 +20,7 @@
# Variable Definitions
variables:
VADERE_DEPLOYMENT_BASE_URL: "http://www.vadere.org/builds"
VADERE_PACKAGE_NAME: "vadere.${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA}.${CI_ENVIRONMENT_NAME}"
# Stage Definitions
stages:
- deploy
......
......@@ -14,8 +14,9 @@
# and folder "VadereModelTests" into one ZIP file.
# Pass GitLab CI variables (like below) to create filenames for JAR files and final ZIP file.
script:
- export
- mvn clean
- mvn -Dmaven.test.skip=true package
- python3 -m zipfile -c VadereModelTests/ VadereGui/target/vadere.jar vadere-console.jar vadere.${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA}.${CI_ENVIRONMENT_NAME}.zip
- scp vadere.${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA}.${CI_ENVIRONMENT_NAME}.zip di49mur@webdev-mwn.lrz.de:~/webserver/htdocs/builds/branches/vadere.${CI_COMMIT_REF_NAME}.${CI_COMMIT_SHA}.${CI_ENVIRONMENT_NAME}.zip
- python3 -m zipfile -c VadereModelTests/ VadereGui/target/vadere.jar VadereSimulator/target/vadere-console.jar ${VADERE_PACKAGE_NAME}.zip
- scp vadere.${VADERE_PACKAGE_NAME}.zip di49mur@webdev-mwn.lrz.de:~/webserver/htdocs/builds/branches/vadere.${VADERE_PACKAGE_NAME}.zip
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