This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See https://gitlab.nuiton.org/codelutin/coselmar.git commit ae453f5f1f74da0040284f6e61a68dfd1612c67b Author: Jean Couteau <couteau@codelutin.com> Date: Fri Oct 9 14:58:20 2020 +0200 Update .gitlab-ci.yml --- .gitlab-ci.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c6e4a9a..2859c34 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,13 @@ stages: - build - check-releasable +- sonar build:latest: image: registry.nuiton.org/codelutin/dockerfiles:maven-release-debian9-openjdk8-with-frequent-libraries stage: build - except: - - tags + rules: + - if: '$CI_PIPELINE_SOURCE != "tag"' script: - mvn package artifacts: @@ -20,5 +21,14 @@ daily-check-releasable: script: - mvn clean verify -e -U -DperformRelease -Dredmine.skipGenerateChanges -Dmaven.javadoc.skip - rm * .git* -rf - only: - - schedules + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' + +sonar_job: + image: registry.nuiton.org/codelutin/dockerfiles:maven-release-debian9-oracle8 + stage: sonar + script: + - export MAVEN_OPTS="-Xmx1024m" + - mvn -e -U clean verify -DskipRelease org.sonarsource.scanner.maven:sonar-maven-plugin:$MAVEN_SONAR_PLUGIN_VERSION:sonar -Dsonar.host.url="$SONAR_INSTANCE_URL" -Dsonar.projectKey=com.franciaflex:faxtomail -Dsonar.exclusions='**/faxtomail-ui-swing/**/*.css','**/js/libs/*','**/target/*','**/generated*/*' + rules: + - if: '$CI_PIPELINE_SOURCE == "schedule"' \ No newline at end of file -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.