[INFO] --- findbugs-maven-plugin:3.0.3:findbugs (findbugs) @ influxdb ---
[INFO] Fork Value is true
[java] Warnings generated: 1
[INFO] Done FindBugs Analysis....
[INFO]
[INFO] <<< findbugs-maven-plugin:3.0.3:check (findbugs) < :findbugs @ influxdb <<<
[INFO]
[INFO] --- findbugs-maven-plugin:3.0.3:check (findbugs) @ influxdb ---
[INFO] BugInstance size is 1
[INFO] Error size is 0
[INFO] Total bugs: 1
[INFO] req must be non-null but is marked as nullable [jenkinsci.plugins.influxdb.DescriptorImpl] At DescriptorImpl.java:[lines 47-49] NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE
[INFO]
To see bug detail using the Findbugs GUI, use the following command "mvn findbugs:gui"
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.539 s
[INFO] Finished at: 2016-07-25T13:00:06+03:00
[INFO] Final Memory: 86M/1474M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:check (findbugs) on project influxdb: failed with 1 bugs and 0 errors -> [Help 1]
[ERROR]
However, when I run the mvn findbug:gui, it gives me 0 errors and bugs. My jenkins-ci and github usernames are different, but I have configured my jenkins-ci user in ~/.m2/settings.xml according to https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Releasingtojenkinsci.org.
I have tried applying @Nonnull for various part of the function findbugs complains about, but nothing seems to work. What am I missing here? On Friday I got the prepare-phase to pass with @SuppressFBWarnings, but it failed in the end anyway. The build (1.1) is available at GitHub and I wonder could that be a reason the current build fails? It doesn't prompt for a release version, but tries to release version 1.1 again. Should I remove my release or how could I fix that?
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr038R9PXVJ9%2B1BLMfKJZvOFiAvmffdjC2kb2kUEzvYRwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.