Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
abbenhoumi
IntegrationProjet
Commits
b102c5a3
Commit
b102c5a3
authored
Apr 05, 2020
by
abbenhoumi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
6a15b3b1
Pipeline
#5956
failed with stages
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
.gitlab-ci.yml
.gitlab-ci.yml
+4
-8
No files found.
.gitlab-ci.yml
View file @
b102c5a3
...
...
@@ -5,10 +5,6 @@ stages:
-
test
-
run
variables
:
MAVEN_CLI_OPTS
:
"
-s
.m2/settings.xml
--batch-mode"
MAVEN_OPTS
:
"
-Dmaven.repo.local=.m2/repository"
cache
:
paths
:
-
.m2/repository/
...
...
@@ -17,15 +13,15 @@ cache:
build
:
stage
:
build
script
:
-
mvn
$MAVEN_CLI_OPTS
compile
-
mvn compile
test
:
stage
:
test
script
:
-
mvn
$MAVEN_CLI_OPTS
test
-
mvn test
run
:
stage
:
run
script
:
-
mvn $MAVEN_CLI_OPTS package
-
mvn $MAVEN_CLI_OPTS exec:java -Dexec.mainClass="com.example.app.App"
\ No newline at end of file
-
mvn package
-
mvn exec:java -Dexec.mainClass="isima.f2.RamassagePoubleDepotApplication"
\ No newline at end of file
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