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

Provide support for ScalaStyle warnings

XMLWordPrintable

    • 5.0.0-beta2

      ScalaStyle is a tool fulfilling more or less the same role as CheckStyle. But then for the Scala programming language.

      It seems to piggyback on the format of Checkstyle. An example is provided in this ticket.

      Those warnings are not picked up by the plugin. Presumably because it is a separate file ?

      Merging the warnings into checkstyle-result.xml via scripting in a post-build step does not help either. For some reason the scala files are not shown. Maybe it's because ScalaStyle uses warning id unknown to CheckStyle.

      merged.xml : an example of CheckStyle and ScalaStyle warnings merged into one file. An attempt to sneak in the Scala warnings. Alas, they don't appear.

      scalastyle-output.xml : an example of the warnings ScalaStyle generates.

        1. Bildschirmfoto 2015-03-16 um 22.59.41.png
          Bildschirmfoto 2015-03-16 um 22.59.41.png
          40 kB
        2. merged.xml
          1 kB
        3. pom.xml
          5 kB
        4. scalastyle-output.xml
          56 kB
        5. scalastyle-output.xml
          0.5 kB

            drulli Ulli Hafner
            jan_goyvaerts Jan Goyvaerts
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: