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

Javac Parser warns about skipped UnitTests

XMLWordPrintable

      The Regex used in the Javac Parser also finds skipped UnitTests. see

      [WARNING] Tests run: 16, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.308 s - in org.faktorips.devtools.model.internal.enums.EnumValueContainerTest
      ...
      [WARNING] Tests run: 1209, Failures: 0, Errors: 0, Skipped: 3
       

      Also it finds JavaDoc Warnings deep in the target folder of an Maven-Project: target/maven-plugin-plugin-sources/org.eclipse.tycho.extras/tycho-p2-extras-plugin/3.0.1/sources/org/eclipse/tycho/plugins/p2/extras/MirrorMojo.java

          /**
           * Source repositori(es) to mirror from.
           * 
           * @see also {@link #targetPlatformAsSource} and {@link #currentModuleAsSource}
           */
          @Parameter(required = false)
          private List<Repository> source;
      

      yields

      Invalid format of javadoc reference: also {@link #targetPlatformAsSource} and {@link #currentModuleAsSource}
      

      The Problem seems to be in the Javac parser since: https://github.com/jenkinsci/analysis-model/releases/tag/v11.4.0

        1. build.part.txt
          33 kB
          Daniel
        2. Java_Compiler_Warnings__New_Warnings.png
          51 kB
          Daniel
        3. Warnings-Ui.json
          4 kB
          Daniel

            drulli Ulli Hafner
            hookyat Daniel
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: