[JIRA] (JENKINS-56700) Use RegexpLineParser for GhsMultiParser

2019-04-03 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner commented on  JENKINS-56700  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Use RegexpLineParser for GhsMultiParser   
 

  
 
 
 
 

 
 
 
 have a few questions regarding the requested improvement. Is an implementation of this Parser using the RegexpLineParser even possible with its current interface? The Pattern Matched by the GhsMultiParser matches multiple lines at once to group the issue message properly. It is possible to just match the Start of the issue without the message but that would skip the following lines containing the issue message. The RegexpLineParser does not offer a interface to access addtional lines. Would it be okay to use the LookaheadParser directly instead? This would allow the GhsMultiParser to read the issue message correctly and proccess the message lines before continuing parsing.
 Yes, you are right. I need to change the title of the issue. You need to use the LookaheadParser. Split the regex into two pieces: first part matches the first line. Use this regexp for the LookaheadParser. Then you can decide how many additional lines to read (and if you need the rest of the regexp). 
 
Regarding the severity error request, does this just mean if the error contains the type error the Serverity.ERROR should be used instead of Severity.WARNING_HIGH ?
 Well, a warning should be mapped to a WARNING_NORMAL. An error to ERROR. You can use the method guessSeverity on the IssueBuilder instance and remove the current mapPriority method.  Maybe you even find an example in the internet that shows a log of the parser that contains an error (if not, create a fake one).  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because 

[JIRA] (JENKINS-56700) Use RegexpLineParser for GhsMultiParser

2019-04-03 Thread heu...@hm.edu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Heunke commented on  JENKINS-56700  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Use RegexpLineParser for GhsMultiParser   
 

  
 
 
 
 

 
 Hello Ulli Hafner, I have a few questions regarding the requested improvement. Is an implementation of this Parser using the RegexpLineParser even possible with its current interface? The Pattern Matched by the GhsMultiParser matches multiple lines at once to group the issue message properly. It is possible to just match the Start of the issue without the message but that would skip the following lines containing the issue message. The RegexpLineParser does not offer a interface to access addtional lines. Would it be okay to use the LookaheadParser directly instead? This would allow the GhsMultiParser to read the issue message correctly and proccess the message lines before continuing parsing.   Regarding the severity error request, does this just mean if the error contains the type error the Serverity.ERROR should be used instead of Severity.WARNING_HIGH ? Greetings Sebastian  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56700) Use RegexpLineParser for GhsMultiParser

2019-04-03 Thread heu...@hm.edu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Heunke started work on  JENKINS-56700  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Sebastian Heunke  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56700) Use RegexpLineParser for GhsMultiParser

2019-04-02 Thread heu...@hm.edu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Heunke assigned an issue to Sebastian Heunke  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56700  
 
 
  Use RegexpLineParser for GhsMultiParser   
 

  
 
 
 
 

 
Change By: 
 Sebastian Heunke  
 
 
Assignee: 
 Sebastian Heunke  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56700) Use RegexpLineParser for GhsMultiParser

2019-04-02 Thread heu...@hm.edu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Heunke assigned an issue to Sebastian Heunke  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56700  
 
 
  Use RegexpLineParser for GhsMultiParser   
 

  
 
 
 
 

 
Change By: 
 Sebastian Heunke  
 
 
Assignee: 
 Sebastian Heunke  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-56700) Use RegexpLineParser for GhsMultiParser

2019-03-23 Thread ullrich.haf...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ulli Hafner created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56700  
 
 
  Use RegexpLineParser for GhsMultiParser   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 analysis-model  
 
 
Created: 
 2019-03-23 10:12  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Ulli Hafner  
 

  
 
 
 
 

 
 The parser should not base on the deprecated class anymore. Additionally, the new severity error should be used.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)