On Monday, July 6, 2015 at 1:28:08 PM UTC+3, Robert Sandell wrote:
>
> Kostya, as mentioned before in this thread; the job does pick up 
> findbugs.xml without any job-config changes if your pom is configured to 
> produce one. It's the marking as unstable that requires a config change by 
> someone with permissions, or if you don't want that clutter in you pom.
>
> Updating my example above to contain the FB execution:
>
> <build>
>     <plugins>
>         <plugin>
>             <groupId>org.codehaus.mojo</groupId>
>             <artifactId>findbugs-maven-plugin</artifactId>
>             <version>3.0.1</version>
>             <configuration>
>                 <xmlOutput>true</xmlOutput>
>                * <findbugsXmlWithMessages>true<*
> */findbugsXmlWithMessages>*
>                 <failOnError>false</failOnError>
>             </configuration>
>             <executions>
>                 <!--
>                     Ensures that FindBugs inspects source code when 
> project is compiled.
>                 -->
>                 <execution>
>                     <id>analyze-compile</id>
>                     <phase>compile</phase>
>                     <goals>
>                         <goal>check</goal>
>                     </goals>
>                 </execution>
>             </executions>
>         </plugin>
>     </plugins>
> </build>
> -- 
> Robert Sandell
> *Software Engineer*
> *CloudBees Inc.*
>

$ git clone https://code.google.com/p/findbugs/
Cloning into 'findbugs'...
remote: Counting objects: 193242, done.
Receiving objects: 100% (193242/193242), 173.58 MiB | 455.00 KiB/s, done.
Resolving deltas: 100% (102972/102972), done.
Checking connectivity... done.
$ cd findbugs/
$ grep findbugsXmlWithMessages -r ./
$
 
$ git clone https://github.com/gleclaire/findbugs-maven-plugin.git
Cloning into 'findbugs-maven-plugin'...
remote: Counting objects: 1533, done.
remote: Total 1533 (delta 0), reused 0 (delta 0), pack-reused 1533
Receiving objects: 100% (1533/1533), 1.09 MiB | 444.00 KiB/s, done.
Resolving deltas: 100% (955/955), done.
Checking connectivity... done.
$ cd findbugs-maven-plugin/
$ grep -i findbugsXmlWithMessages -r ./
$


$ git clone https://github.com/jenkinsci/findbugs-plugin.git
Cloning into 'findbugs-plugin'...
remote: Counting objects: 12411, done.
remote: Total 12411 (delta 0), reused 0 (delta 0), pack-reused 12411
Receiving objects: 100% (12411/12411), 3.68 MiB | 535.00 KiB/s, done.
Resolving deltas: 100% (4870/4870), done.
Checking connectivity... done.
$ grep -i findbugsXmlWithMessages -r ./
.//plugin/src/main/webapp/help-m2.html:     
 &lt;findbugsXmlWithMessages&gt;true&lt;/findbugsXmlWithMessages&gt;
.//plugin/src/main/webapp/help-m2_zh_TW.html:     
 &lt;findbugsXmlWithMessages&gt;true&lt;/findbugsXmlWithMessages&gt;
.//plugin/src/main/webapp/help.html:     
 &lt;findbugsXmlWithMessages&gt;true&lt;/findbugsXmlWithMessages&gt;
.//plugin/src/main/webapp/help_zh_TW.html:     
 &lt;findbugsXmlWithMessages&gt;true&lt;/findbugsXmlWithMessages&gt;

Where did you get this option?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9d50d33e-5e8a-42d3-8154-5fb09148bcc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to