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

Warnngs regexp should be case insensitve

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Platform: PC, OS: All

    Description

      The Regex of MSBuildParser seems to be applied non-case-insensitive. Your regex
      expects the keywords 'warning' and 'error' with lower first letter. However the
      C# 2.0 compiler of Visual Studio 2005 produces 'Warning' and 'Error'.

      The RegexParser of Hudson Warnings needs to parse regex case insensitive or you
      need to change the regex in your MSBuildParser to allow upper-cased first
      letters, to support valid VS 2005 outputs.

      I have checked your Regex:
      (.)((\d).)\s:\s*(warning|error)\s*([^:]):\s(.*) with
      http://www.fileformat.info/tool/regex.htm,

      using the following input:

      [solution] Folder\File.cs(632,11): Warning CS0219: Die Variable result ist
      zugewiesen, ihr Wert wird aber nie verwendet.

      Attachments

        Issue Links

          Activity

            drulli Ulli Hafner created issue -
            sjancke sjancke made changes -
            Field Original Value New Value
            Link This issue is blocking JENKINS-2393 [ JENKINS-2393 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 132456 ] JNJira + In-Review [ 201424 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: