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

Request for Support of multi-line warnings in user defined Warnings Parser

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: warnings-plugin
    • Labels:
      None
    • Environment:
      Windows & Linux
    • Similar Issues:

      Description

      I ran into trouble creating a parser class for a multi-line warning.
      In the new parser, I set the 'Regular Expression' field to the
      following...

      (?dm)Warning-(.)\r\n(.),\s*(\d+)

      Where in the 'Mapping Script' field, I set matcher.group(1) to the
      warning message on the first line of the warning, matcher.group(3) is
      the line number and matcher.group(2) is the filename on the second
      line of the warning message.

      The '\r\n' characters in the 'Regular Expression' field are not
      working. Can you please let me know the correct syntax for the regex
      of a multiline warning?

      Example warning message below:

      Warning-[UII-L] Interface not instantiated
      /projects/caladan/hudson/jobs/caladan/workspace/caladan/dv/env/xactor/
      include/IPZBit.svh, 9

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: