Skip to content
Permalink
Browse files

[FIXED JENKINS-37566] - Enforce FindBugs by default and add it to Jen…

…kinsfile (#242)

* [FIXED JENKINS-37566] - Enforce FindBugs by default and add it to Jenkinsfile

* [JENKINS-37566] - Fix the FindBugs definition
  • Loading branch information...
oleg-nenashev committed Dec 22, 2017
1 parent a916c64 commit 6c4624e3a40d437eed325a2d824c7b92fe5d2b81
Showing with 5 additions and 3 deletions.
  1. +4 −2 Jenkinsfile
  2. +1 −1 pom.xml
@@ -42,8 +42,10 @@ for (int i = 0; i < platforms.size(); ++i) {
/* Archive the test results */
junit '**/target/surefire-reports/TEST-*.xml'

/* Archive the build artifacts */
archiveArtifacts artifacts: 'target/**/*.jar'
if (label == 'linux') {
archiveArtifacts artifacts: 'target/**/*.jar'
findbugs pattern: '**/target/findbugsXml.xml'
}
}
}
}
@@ -66,7 +66,7 @@ THE SOFTWARE.
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.outputEncoding>UTF-8</project.build.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<findbugs.failOnError>false</findbugs.failOnError>
<findbugs.failOnError>true</findbugs.failOnError>
<!-- TODO: Required to override by a version with certchain support (MJARSIGNER-53) on @oleg-nenashev's machine. Remove once it's in upstream -->
<maven-jarsigner-plugin.version>1.4</maven-jarsigner-plugin.version>
</properties>

0 comments on commit 6c4624e

Please sign in to comment.
You can’t perform that action at this time.