Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-47167] - Handle null build when serializing the object to the disk, patch FindBugs #13

Merged

Conversation

oleg-nenashev
Copy link
Member

FindBugs was using the default “Medium” threshold, and hence it was missing some NPE risks.
The change improves diagnostics for JENKINS-47167 and cleanups some other code bits

https://issues.jenkins-ci.org/browse/JENKINS-47167

@reviewbybees

…e disk, patch FindBugs

FindBugs was using the default “Medium” threshold, and hence it was missing some NPE risks.
The change improves diagnostics for JENKINS-47167 and cleanups some other code bits
@ghost
Copy link

ghost commented Oct 16, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Copy link
Member

@dwnusbaum dwnusbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐝

@oleg-nenashev
Copy link
Member Author

@reviewbybees done

@oleg-nenashev oleg-nenashev merged commit e2d0a75 into jenkinsci:master Oct 24, 2017
oleg-nenashev added a commit to oleg-nenashev/plugin-pom that referenced this pull request Oct 26, 2017
This change makes the default configuration of FindBugs much more paranoid.
On the Low level there are many Not-important issues, but experience of jenkinsci/envinject-lib#13 shows that otherwise we may miss real NPE risks in Jenkins.
oleg-nenashev added a commit to jenkinsci/plugin-pom that referenced this pull request Dec 7, 2017
* Enable the max effort and low threshold by default.

This change makes the default configuration of FindBugs much more paranoid.
On the Low level there are many Not-important issues, but experience of jenkinsci/envinject-lib#13 shows that otherwise we may miss real NPE risks in Jenkins.

* Revert the default FindBugs settings to the POM 2.x behavior, but make it configurable

* Fix typo in the comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants