-
Notifications
You must be signed in to change notification settings - Fork 9
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
No output on v1.2 with findbugs #1
Comments
You need to specify the pattern to let the plugin identify the findbugs report-file. Also to make that task run after check has been completed. Here is my script: I use it in git-changelog-lib, if you do |
Wups, added the violations task to that commit: sjudd/glide@8bcafac.
|
Ok. Yes it will fail if the maxViolations property is lower then number of found violations. |
Setting maxViolations to 0 does fail the build, but it doesn't produce the report without -i, would you mind changing it so that it logs the report without a failure only with -i but always logs the report if maxViolations is exceeded? |
Im not sure how to do that. Perhaps the whole log can be the message string
of the exception that fails the build. But yes, Ill have a look.
Den 25 dec. 2017 22:19 skrev "Sam" <[email protected]>:
… Setting maxViolations to 0 does fail the build, but it doesn't produce the
report without -i, would you mind changing it so that it logs the report
without a failure only with -i but always logs the report if maxViolations
is exceeded?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAa1E6wH_mNDbTipA9Rs4Bh-R5zLlDjaks5tEBF0gaJpZM4RMY2n>
.
|
Yeah I was thinking I'd try that. I'm happy to try to figure it out and send you a pull request, it may take me a few days because I'll have to get approval for the patch before I send it, but perhaps there's no rush. Thanks for doing this, neat library! |
Ok yes, sure! |
I've attempted to add this to Glide here so that it's possible to see violations in travis-ci directly. There's a pending commit here: sjudd/glide@5e21322.
I've added a findbugs failure which I see in the gradle output (
./gradlew :library:check
) but I don't see any output or failure from this plugin.The text was updated successfully, but these errors were encountered: