You can use method getCurrentLine() in your parser when creating the new 
warning.

Ulli

Am 30.01.2014 um 12:45 schrieb James Howe <jmh.h...@gmail.com>:

> If you construct a Warning() with an empty filename, then this is treated as 
> being from the console log (or whichever log file it was parsing).
> How can I also set the line number of the warning to the line of the input 
> that the regex matched?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to