From 743c5d3405f3d6450bfe861675feab0192ca3688 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 31 May 2018 23:46:09 +0100 Subject: [PATCH] Disable codacy until token added --- Jenkinsfile.groovy | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 9cad621..f85e5ce 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -21,11 +21,11 @@ pipeline { withMaven(maven: 'maven', jdk: 'JDK LTS') { sh "${mvn} clean compile checkstyle:checkstyle pmd:pmd test" //junit '**/target/surefire-reports/*.xml' - sh "${mvn} jacoco:report com.gavinmogan:codacy-maven-plugin:coverage " + - "-DcoverageReportFile=target/site/jacoco/jacoco.xml " + - "-DprojectToken=`$JENKINS_HOME/codacy/token` " + - "-DapiToken=`$JENKINS_HOME/codacy/apitoken` " + - "-Dcommit=`git rev-parse HEAD`" + //sh "${mvn} jacoco:report com.gavinmogan:codacy-maven-plugin:coverage " + + // "-DcoverageReportFile=target/site/jacoco/jacoco.xml " + + // "-DprojectToken=`$JENKINS_HOME/codacy/token` " + + // "-DapiToken=`$JENKINS_HOME/codacy/apitoken` " + + // "-Dcommit=`git rev-parse HEAD`" jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class' pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: '' step([$class: 'hudson.plugins.checkstyle.CheckStylePublisher',