Source files not found when using auto analysis

Using Automatic analysis, getting this error:

We detected a configuration error for your analysis with ID "AXAQtClfS4yh2apJ1gjR": the source files are not found. Please check your file.

Source of the


Analysis worked fine with an empty sonarcloud file. Project has about 44K lines of go code.

Hi @rayharris,

The sonar.sources property is supposed to only contains directories, while you provided specific files. This is not supported. The default value of sonar.sources is the root of your project.

Hope that helps,

Yes, that does help. That wasn’t clear from the docs. Thanks