This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository nuiton-utils. See https://gitlab.nuiton.org/nuiton/nuiton-utils.git commit 0c3611ac201ea0b83c04eed0af69da6c5b162e7c Author: Arnaud Thimel <thimel@codelutin.com> Date: Mon Sep 23 16:23:15 2019 +0200 Setup Sonar --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6feefa4..46cb4a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,21 @@ +include: + - project: 'codelutin/ci' + file: '/ci.yml' + image: registry.nuiton.org/codelutin/dockerfiles:maven-release stages: - build - deploy - reporting +- qa build: stage: build script: - mvn install + except: + - schedules snapshot: stage: deploy @@ -16,6 +23,8 @@ snapshot: - develop script: - mvn deploy -Prelease-profile + except: + - schedules pages: stage: reporting @@ -27,4 +36,15 @@ pages: script: - mvn install && mvn site -Preporting - 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 nuiton.org SCM administrator <admin+scm@nuiton.org>.