Am 23.07.2013 um 12:02 schrieb Roland Schulz <rol...@rschulz.eu>: > Hi, > > I would like to define a custom multi-line warnings parser. Searching for the > question I have found that screenshots show a "Multi-line support" checkbox. > Both with versions 4.27 and 418 I don't see that option. I tried a multi-line > regex "(?s)CMake Warning at (.*):(\d+) \((.*)\):\s*(.*?)--". In the preview > it works correctly but for the job it doesn't find the warning. It works > correctly with the single line regex "CMake (.*?) at (.*?):(\d+) > \((.*?)\):(.*)". Should I see the checkbox? Is multi-line regex still > supported? Should this regex work. >
I removed the checkbox in order to cleanup the user interface. If you use a newline (\n) in your regexp then multi-line parsing is enabled. > Also I have non-unique relative filenames. I found issue JENKINS-10596 which > is marked as resolved. It seems only resolved specific for gcc+make. Is it > possible to solve this for a custom parser? When you write your parser in Java, then you can use that approach. Ulli > > Roland > > -- > 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. > >
signature.asc
Description: Message signed with OpenPGP using GPGMail