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:
Thank you in advance for your feedback,
Cheers,
Jérémie
Maybe https://wiki.jenkins.io/display/JENKINS/xUnit+Plugin could be extended to support this use case?
--
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 jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/187c0802-8500-4365-87fb-b788fc074c25%40googlegroups.com.
--
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 jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/82dedac3-1a57-4dca-b8fa-ba4c2e2950f6%40googlegroups.com.
Am 18.04.2019 um 08:41 schrieb Jérémie Bresson <jebr...@gmail.com>:
I know this thread is old, but I took time to work again on this idea.Since then, the code was reorganized into:I would like to collect feedback on the format that could be used, I have opened JENKINS-57098 to discuss this.In particular, in the asciidoctor case, I am facing the fact that the log-appender that I can create is not notified when the analysis is terminated.This means that working with a file format where I can just append a new record is easier... This is why I have switched from XML (where a root container is required) to a file containing a list of JSON structures on each line (à la logstash).
I would appreciate feedback…
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/67946750-ae3c-4ea3-9f64-bb055d99b074%40googlegroups.com.