You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
the spotbugs jenkins configuration fails build if a bug is found in one of the sub-directories of a project and skips the scan for remaining sub-directories. Is it possible to scan all the sub-directories, highlight all the issues at once and then fail the build.
For eg. I have a project with 5 sub-projects inside it with failonerror flag set to true. If an issue is identified in 1st sub-project, it skips scanning of remaining 4 sub-projects and fails the build. I want to know if there is a way where all the 5 sub-projects are scanned at once, all the issues are highlighted and then the build fails, all at once.
The text was updated successfully, but these errors were encountered:
the spotbugs jenkins configuration fails build if a bug is found in one of the sub-directories of a project and skips the scan for remaining sub-directories. Is it possible to scan all the sub-directories, highlight all the issues at once and then fail the build.
I am assuming that you are using Maven to build the project? Then yes, simply set failonerror to false and us the warnings plugin to define a quality gate. Or use the Maven option --fail-at-end.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
the spotbugs jenkins configuration fails build if a bug is found in one of the sub-directories of a project and skips the scan for remaining sub-directories. Is it possible to scan all the sub-directories, highlight all the issues at once and then fail the build.
For eg. I have a project with 5 sub-projects inside it with failonerror flag set to true. If an issue is identified in 1st sub-project, it skips scanning of remaining 4 sub-projects and fails the build. I want to know if there is a way where all the 5 sub-projects are scanned at once, all the issues are highlighted and then the build fails, all at once.
The text was updated successfully, but these errors were encountered: