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

Console Log Parser not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • log-parser-plugin
    • None
    • Jenkins: 2.249.2
      Log Parser Plugin: 2.1

      One job is not triggering Console Log Parser, while other jobs are working fine.

       

      Not seeing the line below in the console output, which tells me it's not being triggered.

      Build step 'Console output (build log) parsing' changed build result to FAILURE

       

      Working job config.xml

       <hudson.plugins.logparser.LogParserPublisher>
       <unstableOnWarning>true</unstableOnWarning>
       <failBuildOnError>true</failBuildOnError>
       <showGraphs>false</showGraphs>
       <parsingRulesPath>/opt/jenkins/crs/build_parser_rules/jenkins_build.parser</parsingRulesPath>
       <useProjectRule>false</useProjectRule>
       </hudson.plugins.logparser.LogParserPublisher>

       

      Not working job config.xml

       <hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.1">
       <unstableOnWarning>true</unstableOnWarning>
       <failBuildOnError>true</failBuildOnError>
       <showGraphs>false</showGraphs>
       <parsingRulesPath>/opt/jenkins/crs/build_parser_rules/jenkins_build.parser</parsingRulesPath>
       <useProjectRule>false</useProjectRule>
       </hudson.plugins.logparser.LogParserPublisher>

       

      The only difference I found is that the plugin version is specified in the second config.  I tried removing it and reloading the jobs but this doesn't seem to have resolved it.

            mreinhardt Martin Reinhardt
            lkisac Len Isac
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: