Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
SDE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ESProjects
SDE
Commits
e1d89619
Commit
e1d89619
authored
Mar 25, 2020
by
Pietro Braghieri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
7a9883b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
.gitlab-ci.yml
.gitlab-ci.yml
+6
-2
No files found.
.gitlab-ci.yml
View file @
e1d89619
...
...
@@ -26,8 +26,12 @@ stages:
maven_build_and_test
:
stage
:
test
environment
:
staging
variables
:
MAVEN_LOCAL_REPOSITORY_DIR
:
"
/tmp/maven_repository"
MAVEN_LOCAL_REPOSITORY_URL
:
"
file://$MAVEN_LOCAL_REPOSITORY_DIR"
script
:
-
"
export
DISPLAY=:0.0;
mvn
$MAVEN_CLI_OPTS
-P
Neon-Java8,DevelopmentUpdateSite,CI_Execution
clean
install"
-
mkdir -p MAVEN_LOCAL_REPOSITORY_DIR
-
"
export
DISPLAY=:0.0;
mvn
$MAVEN_CLI_OPTS
-P
Neon-Java8,DevelopmentUpdateSite,CI_Execution
-Ddistribution.repository=$MAVEN_LOCAL_REPOSITORY_URL
clean
install
deploy"
only
:
-
master
...
...
@@ -51,7 +55,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
#- mvn $MAVEN_CLI_OPTS -Ddistribution.repository=
file://
$UPDATE_SITE_MOUNT_DIR/$MAVEN_REPOSITORY_DIR deploy
-
fusermount -uz $UPDATE_SITE_MOUNT_DIR
only
:
refs
:
...
...
Write
Preview
Markdown
is supported
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