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

Persist Example Log Message of custom parser

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Win7

    Description

      The custom warnings parser requires entry of a regexpr.
      It is also possible to enter an Example Log Message in a separate box which is then parsed by the regexpr and the expected output shown.
      After saving this Example Log Message (the test case) is lost and not stored. On returning to this page the box is empty.

      It would be best if this test case/example log message persisted, both for reference and when improving/correcting the reg-expr

      Attachments

        Activity

          drulli Ulli Hafner added a comment -

          That makes sense.

          BTW: The next release will have an extension point for parsers, so you can provide your own small plug-in with a Java class.

          drulli Ulli Hafner added a comment - That makes sense. BTW: The next release will have an extension point for parsers, so you can provide your own small plug-in with a Java class.
          drulli Ulli Hafner added a comment -

          Will be part of 3.18.

          drulli Ulli Hafner added a comment - Will be part of 3.18.

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/warnings/GroovyParser.java
          http://jenkins-ci.org/commit/warnings-plugin/97af2fb8187a083b2ddb620b2b210d064ccd2853
          Log:
          [FIXED JENKINS-9535] Persist example message of dynamic parsers.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/GroovyParser.java http://jenkins-ci.org/commit/warnings-plugin/97af2fb8187a083b2ddb620b2b210d064ccd2853 Log: [FIXED JENKINS-9535] Persist example message of dynamic parsers.
          dogfood dogfood added a comment -

          Integrated in plugins_warnings #139
          [FIXED JENKINS-9535] Persist example message of dynamic parsers.

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/warnings/GroovyParser.java
          dogfood dogfood added a comment - Integrated in plugins_warnings #139 [FIXED JENKINS-9535] Persist example message of dynamic parsers. Ulli Hafner : Files : src/main/java/hudson/plugins/warnings/GroovyParser.java

          People

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

            Dates

              Created:
              Updated:
              Resolved: