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

Allow comments and whitespace in log parser files

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • log-parser-plugin
    • None

      Allow comments like '# Match whatsis in the frobdang' and blank lines in the log parser pattern files.

      With a large file and/or complicated regular expressions, being able to describe what a section of the pattern file does or why some inobvious OK pattern is necessary is important for maintainability.

          [JENKINS-9111] Allow comments and whitespace in log parser files

          OK, looking at the code this is already supported. So a simple documentation fix is all that is required.

          marvin greenberg added a comment - OK, looking at the code this is already supported. So a simple documentation fix is all that is required.

          jborghi added a comment -

          Updated document to show allowed use of comments and blank lines.

          jborghi added a comment - Updated document to show allowed use of comments and blank lines.

            jborghi jborghi
            marvingreenberg marvin greenberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: