This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jtimer. See https://gitlab.nuiton.org/chorem/jtimer.git commit 6e984dd5c26c46d9f7a900a7579b9e6bf67aae94 Author: Arnaud Thimel <thimel@codelutin.com> Date: Mon Sep 23 15:47:15 2019 +0200 Setup Sonar build --- .gitlab-ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 49b8156..91ab337 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,20 @@ +include: + - project: 'codelutin/ci' + file: '/ci.yml' + image: registry.nuiton.org/codelutin/dockerfiles:maven-release stages: - build - reporting +- qa build: stage: build script: - mvn -Duser.timezone=Europe/Paris install + except: + - schedules pages: stage: reporting @@ -16,4 +23,16 @@ pages: - public script: - mvn -Duser.timezone=Europe/Paris install && mvn site -Preporting - - mv target/site public \ No newline at end of file + - mv target/site public + except: + - schedules + +# Sonar uniquement si planifié +sonar: + image: registry.nuiton.org/codelutin/dockerfiles:maven-release-debian9-openjdk8-with-frequent-libraries + stage: qa + script: + - mvn clean package org.sonarsource.scanner.maven:sonar-maven-plugin:$MAVEN_SONAR_PLUGIN_VERSION:sonar -Dsonar.host.url="$SONAR_INSTANCE_URL" + only: + - schedules + -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.