Re: Writing a new "parser" for the warnings plugin.

2017-05-31 Thread Baptiste Mathus
It's rare when we write this in this direction, but this thread is probably better suited on the dev ML :) Le 1 juin 2017 2:26 AM, "Simon M" a écrit : > Looking at LintParser.java suggests that the documentation is wrong. > > The documentation explicitly says that one needs to write a class that

Re: Writing a new "parser" for the warnings plugin.

2017-05-31 Thread Simon M
Looking at LintParser.java suggests that the documentation is wrong. The documentation explicitly says that one needs to write a class that implements WarningsParser, but the LintParser doesn't do this: it extends AbstractWarningsParser. If this approach works, then perhaps I can find more ex

Re: Writing a new "parser" for the warnings plugin.

2017-05-31 Thread Knurek
This might not be too helpful, but have you looked at the other parsers that come with the plugin: https://github.com/jenkinsci/warnings-plugin/tree/master/src/main/java/hudson/plugins/warnings/parser a good start might be the LintParser.java On Wednesday, May 31, 2017 at 2:31:36 AM UTC+2, Simon

Writing a new "parser" for the warnings plugin.

2017-05-30 Thread Simon M
I am trying to understand how to write a new "parser" to work with the Warnings plugin. The "parser" cannot be written by extending the RegexpDocumentParser or RegexpLineParser because I need it to open and read a SQLite3 database. I have been able to write a basic plugin which runs an EDA de