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" <simon.d.matth...@gmail.com> a écrit :

> 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 examples.
>
> Simon
>
> On Wednesday, May 31, 2017 at 1:43:23 AM UTC-7, Knurek wrote:
>>
>> 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 M wrote:
>>>
>>> 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 design tool,
>>> and I want to take the SQLite3 database that this tool creates and
>>> interface the results into the Warnings plugin. However, I need some help
>>> to get started. The documentation says to add "a new parser class that
>>> implements WarningsParser", but I am lost on what methods this needs to
>>> implement. I am a beginner with Java, but, as I stated earlier was able to
>>> get a simple Plugin written and working.
>>>
>>> An example might be a good place to start, but my searches haven't
>>> turned up anything useful.
>>>
>>> Any hints, examples, etc. would be most welcome.
>>>
>>> Thanks!
>>>
>> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/eeb2bc22-713a-4b2d-a329-103da76a7edb%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/eeb2bc22-713a-4b2d-a329-103da76a7edb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6ZWg4ReFiPmqs_-Fw4BcrOxNs95e5T_mb__m_hn1fKCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to