Permalink
Browse files

Use sonar

  • Loading branch information...
shred committed Apr 14, 2017
1 parent e8cd715 commit f896abccb564649a4e9a4b3444f7482ff8023636
Showing with 2 additions and 7 deletions.
  1. +2 −7 .gitlab-ci.yml
View
@@ -1,11 +1,6 @@
image: maven:3-jdk-8
# Cache local m2 repository
# https://gitlab.com/gitlab-org/gitlab-ce/issues/15167#note_15206811
variables:
MAVEN_OPTS: -Dmaven.repo.local=/cache/maven.repository
build:
script:
- mvn -B test site:site
- mvn -B clean org.jacoco:jacoco-maven-plugin:prepare-agent install site:site -Dmaven.test.failure.ignore=true
- mvn -B sonar:sonar -Dsonar.gitlab.commit_sha=$CI_BUILD_REF -Dsonar.gitlab.ref_name=$CI_BUILD_REF_NAME

0 comments on commit f896abc

Please sign in to comment.