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

Another compiler format to support

    XMLWordPrintable

    Details

    • Type: Patch
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Hello,
      I would be nice if your warnings-plugin supports the output of the gnat
      compiler. An Ada (see http://en.wikipedia.org/wiki/GNAT) compiler based on the
      gcc with it's own warnings format.

      Regards
      Bernhard

      PS: Patch follows .. no possibility to attach it.

        Attachments

          Activity

          Hide
          bergerbd bergerbd added a comment -

          Created an attachment (id=433)
          Diff of necessary changes to fix issue

          Show
          bergerbd bergerbd added a comment - Created an attachment (id=433) Diff of necessary changes to fix issue
          Hide
          drulli Ulli Hafner added a comment -

          Could you please also add a small test case (like the other ones) that parses an
          example file?

          I committed your parser but did not activate it since it breaks the
          ParserRegistryTest. Seems that your RegExp detects a false positive...

          Show
          drulli Ulli Hafner added a comment - Could you please also add a small test case (like the other ones) that parses an example file? I committed your parser but did not activate it since it breaks the ParserRegistryTest. Seems that your RegExp detects a false positive...
          Hide
          bergerbd bergerbd added a comment -

          Created an attachment (id=437)
          Additional patch with testcases and some minor improvments to avoid false positives

          Show
          bergerbd bergerbd added a comment - Created an attachment (id=437) Additional patch with testcases and some minor improvments to avoid false positives
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/GnatParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GnatParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/gnat.txt
          http://fisheye4.cenqua.com/changelog/hudson/?cs=13242
          Log:
          [FIXED JENKINS-2607] Added parser for Ada warnings (Gnat).

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/GnatParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GnatParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/gnat.txt http://fisheye4.cenqua.com/changelog/hudson/?cs=13242 Log: [FIXED JENKINS-2607] Added parser for Ada warnings (Gnat).

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            bergerbd bergerbd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: