TeamCity CheckStyle Plugin使用
1. 添加checkstyle插件

2. 添加site 的build step

这样在mvn site运行后,在target目录下将生成checkstyle-result.xml文件

3. 配置xml report

4. 构建
构建时我们将看到inspection error,并看到详细错误。



本文介绍如何在TeamCity中配置CheckStyle插件,实现自动化代码检查流程,包括添加插件、设置buildstep、配置xmlreport及构建过程中的错误提示。
TeamCity CheckStyle Plugin使用


这样在mvn site运行后,在target目录下将生成checkstyle-result.xml文件


构建时我们将看到inspection error,并看到详细错误。




被折叠的 条评论
为什么被折叠?