Open tdurova opened 6 years ago
Hi, which version of SQ are You using? Because this plugin in SQ version 7.3 is not supported ( https://community.sonarsource.com/t/sq-7-3-ce-groovy-1-5-plugin-gradle-sonarqube-failed/1854 ) . According documentation also version 7.2 doesn't support this (but in my project this version hasn't any problem with groovy) .
@pucii I use Version 7.0 (build 36138)
Can groovy files be analysed with the maven plugin? You could try to use the Sonar Scanner cli instead.
It can't
Is there a solution to this issue ? This plugin is not working with SonarQube version 7.8. Is there an alternative for Groovy analysis ?
The new release 1.6 should support all recent SonarQube versions. If you still see this issue, please report it on the new project
I have a maven project with groovy and java files. I ran SonarQube analyses for the project on SonarQube server when the Groovy plugin was not installed yet. Then with Groovy plugin installed, I added empty sonar-project.properties file to my project. And also
<sonar.groovy.binaries>target/classes</sonar.groovy.binaries>
to my pom file. Then I ran Jenkins job with a build step$SONAR_MAVEN_GOAL -Dsonar.host.url=$SONAR_HOST_URL
and pre-build stepclean package -Dmaven.test.skip=true
.The problem is that I still don't see any .groovy files on my Sonar project, which was created during the first run.