Commit 065f9771 authored by abbenhoumi's avatar abbenhoumi

Update .gitlab-ci.yml

parent 2c892c1f
Pipeline #5960 failed with stages
in 1 minute
...@@ -5,10 +5,6 @@ stages: ...@@ -5,10 +5,6 @@ stages:
- test - test
- run - run
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache: cache:
paths: paths:
- .m2/repository/ - .m2/repository/
...@@ -17,15 +13,15 @@ cache: ...@@ -17,15 +13,15 @@ cache:
build: build:
stage: build stage: build
script: script:
- mvn $MAVEN_CLI_OPTS compile - mvn compile
test: test:
stage: test stage: test
script: script:
- mvn $MAVEN_CLI_OPTS test - mvn test
run: run:
stage: run stage: run
script: script:
- mvn $MAVEN_CLI_OPTS package - mvn package
- mvn $MAVEN_CLI_OPTS exec:java -Dexec.mainClass="isima.F2.RamassagePoubleDepotApplicationTests" - mvn exec:java -Dexec.mainClass="isima.F2.RamassagePoubleDepotApplicationTests"
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