Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17686

Findbugs- and Checkstyle-Plugins do not show any results in Maven style job.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • None
    • Jenkins 1.511, Findbugs-Plugin 4.48, maven-findbugs-plugin 2.5.2

      The Findbugs- and Checkstyle-Plugins for Jenkins do not show any results in a maven style job. If the project is configured as freestyle job both plugins show results.

      In both jobs the file are properly generated.
      See attachments for directory structures, console outputs and the main view.

      Configuration of both plugins in maven:

      <reporting> 
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
            <version>2.10</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
            <version>2.5.2</version>
            <configuration>
              <failOnError>false</failOnError>
              <xmlOutput>true</xmlOutput>
            </configuration>
          </plugin>
        </plugins>
      </reporting>
      

      This bug is similar to JENKINS-12853.

        1. Project_as_Maven_Job.jpg
          Project_as_Maven_Job.jpg
          74 kB
        2. Project_as_Freestyle_Job.jpg
          Project_as_Freestyle_Job.jpg
          80 kB
        3. Main_Window_with_both_jobs.jpg
          Main_Window_with_both_jobs.jpg
          97 kB
        4. Console_Output_Maven_Job.jpg
          Console_Output_Maven_Job.jpg
          129 kB
        5. Console_Output_Freestyle_Job.jpg
          Console_Output_Freestyle_Job.jpg
          548 kB
        6. config_as_maven.xml
          6 kB
        7. config_as_maven.jpg
          config_as_maven.jpg
          74 kB
        8. config_as_freestyle.xml
          6 kB
        9. config_as_freestyle.jpg
          config_as_freestyle.jpg
          121 kB

            drulli Ulli Hafner
            browser Robert Danczak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: