Hello,
I’m experiencing an issue related to the Checkstyle plugin in both Maven and Gradle projects.
Here’s the context:
The suppressions.xml file is placed in the same directory as checkstyle.xml.
Here is the Plagin Configuration from SonarQube server
When I run the build, it fails with the error:
This error occurs in both Maven and Gradle builds
It seems that the Checkstyle plugin is not correctly resolving the ${config_loc} variable or the relative path to suppressions.xml in both cases.
I’ve made sure that the suppressions.xml file exists in the correct location in the filesystem. I’ve also tried changing the file path in the SonarQube configuration, but the error persists.
Note:
When the build is executed with SonarQube Server (Prod) version 6.7.3, it completes successfully. However, when using SonarQube Dev Server (version 7.9), the build fails.
Any guidance on how to resolve this issue would be greatly appreciated.
--
You received this message because you are subscribed to the Google Groups "checkstyle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkstyle+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/checkstyle/5b1891bf-01e5-44c0-8d19-aa0c4f78eb1dn%40googlegroups.com.