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

Job stuck collecting compiler warnings with the eclipse compiler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • warnings-plugin
    • None
    • Jenkins 1.491 - Warnings plugin 4.18 - Static Analysis Utilities 1.48 - Violations 0.7.10 - Dashboard view 2.2

      I have a maven project style with the following configuration for the maven compiler plugin

                  <plugin>
                      <artifactId>maven-compiler-plugin</artifactId>
                      <version>2.3.2</version>
                      <configuration>
                          <source>1.6</source>
                          <target>1.6</target>
                          <compilerId>jdt</compilerId>
                          <showWarnings>true</showWarnings>
                      </configuration>               
                  </plugin>
      

      The jenkins config scan for compiler warnings using two parsers: Eclipse Java compiler and Java compiler. None of the advanced options are enabled (see screnshot). I have a not so big project with around 20 compiler warnings.

      I am running Jenkins 1.459 with the warnings plugin 3.26 and this is working fine (the graph is generated, new warnings are found, etc).

      If I switch to the new configuration (and that's been a long time I want to upgrade), the job is stuck when parsing the warnings. This is exactly similar to JENKINS-10097. See the configuration of 1.459 with the latest warnings plugins.

        1. compiler-warnings.png
          compiler-warnings.png
          31 kB
        2. compiler-warnings-2.png
          compiler-warnings-2.png
          79 kB
        3. config-459-warnings-3.26.png
          config-459-warnings-3.26.png
          57 kB
        4. config-491-warnings-4.18.png
          config-491-warnings-4.18.png
          60 kB
        5. config-491-warnings-4.18.png
          config-491-warnings-4.18.png
          57 kB
        6. thread-dump.txt
          34 kB
        7. thread-dump-2.txt
          29 kB

            drulli Ulli Hafner
            snicoll Stéphane Nicoll
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: