Permalink
Browse files

Use sonar

  • Loading branch information...
shred committed Aug 12, 2017
1 parent 2b9778d commit 9a507578a3113958abbb47c117dd600673b86b4d
Showing with 2 additions and 6 deletions.
  1. +2 −6 .gitlab-ci.yml
@@ -1,11 +1,7 @@
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 install 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 9a50757

Please sign in to comment.