I see, the parsing is delegated to an extra class that does not have this method. Can you please add a new feature request in Jira? This is quite easy to implement…
Ulli Am 30.01.2014 um 14:52 schrieb James Howe <[email protected]>: > An exception occurred during evaluation of the Groovy script: No > signature of method: Script1.getCurrentLine() is applicable for > argument types: () values: [] > > On 30 January 2014 12:28, Ulli Hafner <[email protected]> wrote: >> You can use method getCurrentLine() in your parser when creating the new >> warning. >> >> Ulli >> >> Am 30.01.2014 um 12:45 schrieb James Howe <[email protected]>: >> >> 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 [email protected]. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out.
signature.asc
Description: Message signed with OpenPGP using GPGMail
