Hi friends,
I have a maven project on Jenkins 1.628 <http://jenkins-ci.org/>. I use 
findbugs to "findbugs". Althought there is a bug reported after analyzed



*"This call to a generic collection method contains an argument     with an 
incompatible class from that of the collection's parameter    (i.e., the 
type of the argument is neither a supertype nor a subtype        of the 
corresponding generic type argument)."*
But the  FindBug Jenkin plugin didn't count it.
This is my pom setting
<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>${findbugs-maven.version}</version>
                <configuration>
                    <effort>Max</effort>
                    <failOnError>false</failOnError>
                    <!-- Reports all bugs (other values are medium and max) 
-->
                    <threshold>Low</threshold>
                    <!-- Produces XML report -->
                    <xmlOutput>true</xmlOutput>
                    <findbugsXmlOutput>true</findbugsXmlOutput>
                    
<findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
                </configuration>
                <executions>
                    <!--
                        Ensures that FindBugs inspects source code when 
project is compiled.
                    -->
                    <execution>
                        <id>analyze-compile</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>findbugs</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

And the log on Jenkins is:

*-- findbugs-maven-plugin:3.0.2:findbugs (analyze-compile) @ apache-cxf-sample 
---
*[INFO] Fork Value is true
     [java] Warnings generated: 1
[INFO] Done FindBugs Analysis....
[FINDBUGS] Finding all files that match the pattern findbugsXml.xml
[FINDBUGS] Parsing 1 file in 
/root/.jenkins/jobs/apache-cxf-sample/workspace/apache-cxf/apache-cxf-sample/target/findbugs
[FINDBUGS] Successfully parsed file 
/root/.jenkins/jobs/apache-cxf-sample/workspace/apache-cxf/apache-cxf-sample/target/findbugs/findbugsXml.xml
 of module apache-cxf-sample Maven Webapp with 0 unique warnings and 0 
duplicates.
[FINDBUGS] Computing warning deltas based on reference build #14

I've read the topic 
https://groups.google.com/forum/#!searchin/jenkinsci-users/findbugs/jenkinsci-users/DU1dAGuT5NQ/XJeJwP7_1N8J
 But it doesn't work.

Please help me this


<http://jenkins-ci.org/>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6e561439-98a8-4eab-a340-9d64ceb7c50f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to