Dear Jenkins Developers,

 

*In the “Before starting a new plugin” section of the documentation, you 
mention that we should contact you.*

 

JXLint is a framework to create static analysis tool (linter) in java. See 
http://selesse.com/jxlint/ 

I am working on a tool based on this framework.

There is the possibility to obtain an HTML report or to get an XML report 
that looks like this:

 

<?xml version="1.0" encoding="UTF-8"?>

<issues>

    <issue

        name="Lines should not be longer than 80 characters"

        severity="Warning"

        message="Line 2 is too long (length: 105)"

        category="Format"

        summary="The line length should be less than or equal to 80."

        explanation="In a text file (ending with `.txt`) the line should 
not be longer than 80 characters..."

        location="***/example-project-txt/src/file.txt"

        lineNumber="2"

    />

    <issue

        name="Multiple new lines at the end of the document"

        severity="Warning"

        message="Line 9 is one of the multiple empty new lines at the end 
of the document. This is not allowed"

        category="Format"

        summary="Text document should end with zero or one new line. 
Additional new lines should be removed."

        explanation="In a text file (ending with `.txt`) there should be no 
multiple new line at the end of the document..."

        location="***/example-project-txt/src/file.txt"

        lineNumber="9"

    />

</issues>

 

I would like to be able to see the results directly in Jenkins. There is 
already great support with the analysis-core functionality. I somehow need 
to bridge both frameworks together. This would be a new 
"jxlint-analysis-plugin" project (similar to "android-lint-plugin" for 
example https://wiki.jenkins.io/display/JENKINS/Android+Lint+Plugin ).

 

Features are straight forward:

   - This add a new post-processing build step
   - One input (configuration in the Job) to indicates where the xml Files 
   are located.
   - During the build the files are parsed and transformed to the structure 
   that Jenkins needs to produce its report.

Thank you in advance for your feedback,

 

Cheers,

Jérémie

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/82dedac3-1a57-4dca-b8fa-ba4c2e2950f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to