Menu

[r197]: / wiki / UsingWithJenkins.wiki  Maximize  Restore  History

Download this file

11 lines (7 with data), 626 Bytes

#labels Featured
The XML generated by PHPCheckstyle is compatible with the original [http://checkstyle.sourceforge.net/ Checkstyle] XML format.

The [https://wiki.jenkins-ci.org/display/JENKINS/Violations Violation plugin] of [http://jenkins-ci.org/ Jenkins] or [http://hudson-ci.org/ Hudson] is capable of reading this file and displaying and historising the results.

First you need to configure ANT to launch the check. 
See [UsingWithANT Using with ANT].

The script must generate a XML result file using the {{{ --format xml }}} flag.

Then, you configure Jenkins with the violation plugin to read the generated xml file.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.