Commit 5ac2b599 authored by Gerson Sunyé's avatar Gerson Sunyé
Browse files

Merge branch 'master' of gitlab.univ-nantes.fr:naomod/sce/projet-2020

parents 2892527b c24ecdb3
Pipeline #29554 failed with stages
in 2 minutes and 8 seconds
image: docker-registry.univ-nantes.fr/sunye-g/docker-java-maven:latest
variables:
MAVEN_OPTS: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true -Dhttps.proxyHost=proxy-serveur.univ-nantes.prive -Dhttps.proxyPort=3128"
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
cache:
paths:
- .m2/repository/
key: "$CI_BUILD_REF_NAME"
build:
stage: build
script:
- java -version
- mvn -version
- 'mvn --settings ./.gitlab.maven.settings.xml $MAVEN_OPTS -e $MAVEN_CLI_OPTS compile'
artifacts:
paths:
- target/
- salut-common/target
- salut-cache/target
verify:
stage: test
script:
- 'mvn --settings ./.gitlab.maven.settings.xml $MAVEN_OPTS verify'
artifacts:
paths:
- target/
- salut-common/target
- salut-cache/target
pages:
stage: deploy
script:
- 'mvn --settings .gitlab.maven.settings.xml $MAVEN_OPTS -e $MAVEN_CLI_OPTS compile site'
artifacts:
paths:
- public
only:
- master
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