teamcity 插件演示之CheckStyle


TeamCity CheckStyle Plugin使用

1.   添加checkstyle插件



 

2.   添加site build step



 

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



 

3.   配置xml report



 

 

4.   构建

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



 

 

 

 

 

猜你喜欢

转载自zgq456.iteye.com/blog/2192887