You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What if you don't use actions/setup-java action? Have you tested this, @alexanderaucobo?
No, I didn't test it without. But I think everything which changes the JAVA_HOME variable will have these effects. And when it is not set then it is using the "internal" variable. But as I mentioned untested @dwisiswant0
ERROR: Error during SonarScanner execution
org.sonar.java.AnalysisException: Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions property.
I am facing the above issue could you please share the configuration details? how to set up your lib for spring boot APP.
Issue and Steps to Reproduce
use actions/setup-java@v2
use kitabisa/sonarqube-action@v1.1.1
then this happens:
Could not find 'java' executable in JAVA_HOME or PATH.
Why this happens: It is overwriting the environment variables set in the docker container from sonar-scanner
How to fix it: Set environment variable for this action back to the env variable from the original docker container from sonar-scan ner
Have a nice day :-)
The text was updated successfully, but these errors were encountered: