Checkstyle plugin is not generating xml report


(htourne) #1

Hi all!

I have a problem with checklist plugin, it logs this
Checkstyle rule violations were found. See the report at: file:///tmp/jenkins/lof/LOFWeb/build/checkstyleReports/main.html
but the file is not saved in that location, and i need de report in xml format to load in jenkins.
What is brong?

This is part of mi build.gradle

apply plugin: 'checkstyle'

checkstyle {
	toolVersion = '8.12'
	configFile = file("../Desarrollo/config/checkstyle/checkstyle.xml")
	ignoreFailures = true
	reportsDir = file("$project.buildDir/checkstyleReports")
}

Thanks.