diff --git a/Jenkinsfile b/Jenkinsfile index 223dd827f4..8a5d985df4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { } stage ('Build') { steps { - echo 'Building' + echo 'Unit testing' sh 'mvn -B -C -Poracle,mssql clean test-compile' } } @@ -45,11 +45,11 @@ pipeline { } steps { echo 'Quality checking' - sh 'mvn -B -C -fae -Poracle,mssql com.github.spotbugs:spotbugs-maven-plugin:spotbugs checkstyle:checkstyle javadoc:javadoc' + sh 'mvn -B -C -fae -Poracle,mssql findbugs:findbugs checkstyle:checkstyle javadoc:javadoc' } post { success { - findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', pattern: '**/spotbugsXml.xml', unHealthy: '' + findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', pattern: '**/findbugsXml.xml', unHealthy: '' checkstyle canComputeNew: false, canRunOnFailed: true, defaultEncoding: '', healthy: '', pattern: '**/checkstyle-result.xml', unHealthy: '' } } diff --git a/pom.xml b/pom.xml index 580db17576..eef5b8c927 100644 --- a/pom.xml +++ b/pom.xml @@ -386,7 +386,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.0.1 none false @@ -1208,12 +1208,13 @@ - com.github.spotbugs - spotbugs-maven-plugin - 4.1.3 + org.codehaus.mojo + findbugs-maven-plugin + 3.0.5 true - true + true + true @@ -1244,7 +1245,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.0.1 none false