https://gitlab.ow2.org/sat4j/sat4j.git
Revision 5080fed0937039c7da843df60eeff050c1f8fd0d authored by Daniel Le Berre on 01 March 2022, 22:08:31 UTC, committed by Daniel Le Berre on 01 March 2022, 22:08:31 UTC
1 parent 50b9636
Tip revision: 5080fed0937039c7da843df60eeff050c1f8fd0d authored by Daniel Le Berre on 01 March 2022, 22:08:31 UTC
call jacoco:report after deploy goal
call jacoco:report after deploy goal
Tip revision: 5080fed
.gitlab-ci.yml
variables:
# This will supress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
# As of Maven 3.3.0 instead of this you may define these options in `.mvn/maven.config` so the same config is used
# when running from the command line.
# `installAtEnd` and `deployAtEnd`are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
maven38-java11-sonar:
image: maven:3.8.1-jdk-11-slim
stage: build
only:
- master
script:
- mvn $MAVEN_CLI_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent --settings settings.xml deploy jacoco:report
- mvn $MAVEN_CLI_OPTS sonar:sonar
cache:
paths:
- .m2/repository
maven38-java11:
image: maven:3.8.1-jdk-11-slim
stage: build
except:
- master
script:
- mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true
cache:
paths:
- .m2/repository
maven38-java16:
image: maven:3.8.1-openjdk-16-slim
stage: test
script:
- mvn $MAVEN_CLI_OPTS clean package -Dmaven.javadoc.skip=true -Djacoco.skip=true
allow_failure: true
Computing file changes ...