[JIRA] (JENKINS-27208) Make Log Parser Plugin compatible with Workflow
Title: Message Title
Stefan Müller edited a comment on JENKINS-27208
Re: Make Log Parser Plugin compatible with Workflow
There seems to be an error in the snippet generated for {{logParser}} in the Pipeline Syntax page. I generated the snippet{code:groovy}logParser parsingRulesPath: 'D:\\Jenkins_Log_Parser_Files\\my_global_parse_rule', useProjectRule: false{code}which gives me the error{code:none}WorkflowScript: 73: Missing required parameter: "projectRulePath" @ line 73, column 13. logParser parsingRulesPath: 'D:\\Jenkins_Log_Parser_Files\\my_global_parse_rule', useProjectRule: false ^{code}Adding{code:none}, projectRulePath: ''{code}to the end of the snippet fixes this error.In addition, why is the path in the {{logParser}} call instead of the name of the rule, as specified in a none-pipeline job or in the snippet generator itself? This will be hell for me if the drive location of the global log parser rule ever changes...Thanks.PS: I know it's a lot of work to keep this stuff up-to-date, but IMHO, further documentation is needed (not just for this plugin). E. g. there is an option {{showGraphs}} (https://jenkins.io/doc/pipeline/steps/log-parser/) with no explanation. I tried it, hoping it might give me maybe parsing on step level, and found no effect.
Add Comment
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://gro
[JIRA] (JENKINS-27208) Make Log Parser Plugin compatible with Workflow
Title: Message Title
Stefan Müller edited a comment on JENKINS-27208
Re: Make Log Parser Plugin compatible with Workflow
There seems to be an error in the snippet generated for {{logParser}} in the Pipeline Syntax page. I generated the snippet{code:groovy}logParser parsingRulesPath: 'D:\\Jenkins_Log_Parser_Files\\my_global_parse_rule', useProjectRule: false{code}which gives me the error{code:none}WorkflowScript: 73: Missing required parameter: "projectRulePath" @ line 73, column 13. logParser parsingRulesPath: 'D:\\Jenkins_Log_Parser_Files\\my_global_parse_rule', useProjectRule: false ^{code}Adding{code:none}, projectRulePath: ''{code}to the end of the snippet fixes this error.In addition, why is the path in the {{logParser}} call instead of the name of the rule, as specified in a none-pipeline job or in the snippet generator itself? This will be hell for me if the drive location of the global log parser rule ever changes...Thanks.PS: Up I know it's a lot of work to keep this stuff up -to-date , but IMHO, further documentation is always useful. ;- needed (not just for this plugin ) . E. g. there is an option {{showGraphs}} with no explanation. I tried it, hoping it might give me maybe parsing on step level, and found no effect.
Add Comment
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/j
[JIRA] (JENKINS-27208) Make Log Parser Plugin compatible with Workflow
Title: Message Title Stefan Müller commented on JENKINS-27208 Re: Make Log Parser Plugin compatible with Workflow There seems to be an error in the snippet generated for logParser in the Pipeline Syntax page. I generated the snippet logParser parsingRulesPath: 'D:\\Jenkins_Log_Parser_Files\\my_global_parse_rule', useProjectRule: false which gives me the error WorkflowScript: 73: Missing required parameter: "projectRulePath" @ line 73, column 13. logParser parsingRulesPath: 'D:\\Jenkins_Log_Parser_Files\\my_global_parse_rule', useProjectRule: false ^ Adding , projectRulePath: '' to the end of the snippet fixes this error. In addition, why is the path in the logParser call instead of the name of the rule, as specified in a none-pipeline job or in the snippet generator itself? This will be hell for me if the drive location of the global log parser rule ever changes... Thanks. PS: Up-to-date documentation is always useful. Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
[JIRA] (JENKINS-27208) Make Log Parser Plugin compatible with Workflow
Title: Message Title X O commented on JENKINS-27208 Re: Make Log Parser Plugin compatible with Workflow Please, be nice and document how to use it with pipeline on the page of the plug-in. Thanks a lot. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-27208) Make Log Parser Plugin compatible with Workflow
Title: Message Title Manish Patel commented on JENKINS-27208 Re: Make Log Parser Plugin compatible with Workflow I agree with Sorin Sbarnea above. An example would help a great deal for beginners. Thanks in advance. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-27208) Make Log Parser Plugin compatible with Workflow
Title: Message Title Sorin Sbarnea reopened an issue Sorry for re-opening this bug but adding support for the Workflow without documenting it on the plugin homepage seems like a good reasons to consider this feature not fully implemented. I would not mind editing the the https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin page and adding the information related to Workflow usage but I don't know yet which is this information. Once I have a simple pipeline code example I would add it to the wiki. Jenkins / JENKINS-27208 Make Log Parser Plugin compatible with Workflow Change By: Sorin Sbarnea Resolution: Done Status: Resolved Reopened Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
