I know this isnt strictly java related but since i am using junit ad java within sonarcube i thought id ask:
in my sonar-project.properties file i have set the xml file destination as follows:
sonar.junit.reportPaths=./testreports/*.xml
sonar.junit.reportPaths=./testreports/*.xml
however, in my jenkins build logs for the project i see:
INFO: parsing [/var/lib/jenkins/workspace/cw-1/testreports/*.xml]ERROR: Reports path not found or is not a directory: /var/lib/jenkins/workspace/cw-1/testreports/*.xml
INFO: parsing [/var/lib/jenkins/workspace/cw-1/testreports/*.xml]ERROR: Reports path not found or is not a directory: /var/lib/jenkins/workspace/cw-1/testreports/*.xml
The path does exists as i have verified via ssh into the ec2 instance
is there something im missing here?
I have tried to change the path using ** at the start of it.
I also tried copying the xml file directly to the project root but still nothing.