Disable codacy until token added

This commit is contained in:
Paul Campbell 2018-05-31 23:46:09 +01:00
parent 5f9588b175
commit 743c5d3405

View file

@ -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',