Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Using PHPCheckstyle with Jenkins

tchule edited this page Jan 6, 2017 · 1 revision

The XML generated by PHPCheckstyle is compatible with the original Checkstyle XML format.

The Violation plugin of Jenkins or Hudson is capable of reading this file and displaying and historising the results.

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

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

Then, you configure Jenkins to launch this ANT file with the phpcheckstyle target.

You also configure the violation plugin to read the generated xml file using the "checkstyle" type.

And you should see the result in the project.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /