Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ESProjects
SDE
Commits
7a9883b7
Commit
7a9883b7
authored
Mar 25, 2020
by
Pietro Braghieri
Browse files
Merge branch 'master' of git@gitlab.fbk.eu:ESProjects/SDE.git
parents
85225224
53e65b46
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7a9883b7
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment