Disable codacy until token added
This commit is contained in:
parent
5f9588b175
commit
743c5d3405
1 changed files with 5 additions and 5 deletions
|
@ -21,11 +21,11 @@ pipeline {
|
||||||
withMaven(maven: 'maven', jdk: 'JDK LTS') {
|
withMaven(maven: 'maven', jdk: 'JDK LTS') {
|
||||||
sh "${mvn} clean compile checkstyle:checkstyle pmd:pmd test"
|
sh "${mvn} clean compile checkstyle:checkstyle pmd:pmd test"
|
||||||
//junit '**/target/surefire-reports/*.xml'
|
//junit '**/target/surefire-reports/*.xml'
|
||||||
sh "${mvn} jacoco:report com.gavinmogan:codacy-maven-plugin:coverage " +
|
//sh "${mvn} jacoco:report com.gavinmogan:codacy-maven-plugin:coverage " +
|
||||||
"-DcoverageReportFile=target/site/jacoco/jacoco.xml " +
|
// "-DcoverageReportFile=target/site/jacoco/jacoco.xml " +
|
||||||
"-DprojectToken=`$JENKINS_HOME/codacy/token` " +
|
// "-DprojectToken=`$JENKINS_HOME/codacy/token` " +
|
||||||
"-DapiToken=`$JENKINS_HOME/codacy/apitoken` " +
|
// "-DapiToken=`$JENKINS_HOME/codacy/apitoken` " +
|
||||||
"-Dcommit=`git rev-parse HEAD`"
|
// "-Dcommit=`git rev-parse HEAD`"
|
||||||
jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class'
|
jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class'
|
||||||
pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''
|
pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''
|
||||||
step([$class: 'hudson.plugins.checkstyle.CheckStylePublisher',
|
step([$class: 'hudson.plugins.checkstyle.CheckStylePublisher',
|
||||||
|
|
Loading…
Reference in a new issue