Skip to content

Commit

Permalink
Renamed exclude file and set spotbugs default to medium (#5746)
Browse files Browse the repository at this point in the history
Co-authored-by: Basil Crow <me@basilcrow.com>
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
  • Loading branch information
3 people authored Sep 28, 2021
1 parent 54779c7 commit 0811c45
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
5 changes: 0 additions & 5 deletions cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
<description>Command line interface for Jenkins</description>
<url>https://github.com/jenkinsci/jenkins</url>

<properties>
<!-- TODO: remove once Medium level is set in the core (JENKINS-36716) -->
<findbugs.threshold>Medium</findbugs.threshold>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down
4 changes: 3 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ THE SOFTWARE.
<staplerFork>true</staplerFork>
<hamcrest.version>2.2</hamcrest.version>
<xmlunit.version>2.8.2</xmlunit.version>
<!-- TODO: JENKINS-36716 - Switch to Medium once SpotBugs is cleaned up, 929 issues on September 26, 2021 -->
<spotbugs.threshold>High</spotbugs.threshold>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -800,7 +802,7 @@ THE SOFTWARE.
<id>spotbugs</id>
<properties>
<!-- In the default profile we always fail the build if there SpotBugs errors -->
<findbugs.failOnError>true</findbugs.failOnError>
<spotbugs.failOnError>true</spotbugs.failOnError>
</properties>
</profile>
<profile>
Expand Down
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ THE SOFTWARE.
<!-- Minimum Remoting version, which is tested for API compatibility -->
<remoting.minimum.supported.version>3.14</remoting.minimum.supported.version>

<!-- TODO: JENKINS-36716 - Switch to Medium once FindBugs is cleaned up, 430 issues on Mar 10, 2018 -->
<findbugs.effort>Max</findbugs.effort>
<findbugs.threshold>High</findbugs.threshold>
<findbugs.excludeFilterFile>${project.basedir}/../src/findbugs/findbugs-excludes.xml</findbugs.excludeFilterFile>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Medium</spotbugs.threshold>
<spotbugs.excludeFilterFile>${project.basedir}/../src/spotbugs/spotbugs-excludes.xml</spotbugs.excludeFilterFile>

<access-modifier.version>1.25</access-modifier.version>
<junit.jupiter.version>5.8.1</junit.jupiter.version>
Expand Down
File renamed without changes.

0 comments on commit 0811c45

Please sign in to comment.