Commit 7a9883b7 authored by Pietro Braghieri's avatar Pietro Braghieri

Merge branch 'master' of git@gitlab.fbk.eu:ESProjects/SDE.git

parents 85225224 53e65b46
......@@ -39,6 +39,8 @@ maven_build_and_test:
UPDATE_SITE_MOUNT_DIR: "/tmp/www_ci"
UPDATE_SITE_PROD_TARGET_DIR: "html/tools/aida_sde"
REPOSITORY_TO_COPY: "eu.fbk.tools.aida.sde.repository/target/repository"
MAVEN_REPOSITORY_DIR: "html/tools/maven_repository"
stage: deploy
environment: staging
......@@ -49,6 +51,7 @@ maven_build_and_test:
- mkdir -p $UPDATE_SITE_MOUNT_DIR/$UPDATE_SITE_PROD_TARGET_DIR
- cp -r ${REPOSITORY_TO_COPY}/* $UPDATE_SITE_MOUNT_DIR/$UPDATE_SITE_PROD_TARGET_DIR
- chmod -R 0777 $UPDATE_SITE_MOUNT_DIR/$UPDATE_SITE_PROD_TARGET_DIR
#- mvn $MAVEN_CLI_OPTS -Ddistribution.repository=$UPDATE_SITE_MOUNT_DIR/$MAVEN_REPOSITORY_DIR deploy
- fusermount -uz $UPDATE_SITE_MOUNT_DIR
only:
refs:
......
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