How to run sonar if code-language is unknown

I have n number of projects. Code language, build tools used in those project are unknown. I want to run sonar for those project using a script. How can I do that? Is there a way?


Welcome to the community!

SonarQube will automatically recognize and correctly categorize files by language based on the file extensions. (If you’re using non-standard extensions, you can adjust in Administration->Languages->[pick the language]) So all you need to do is set up basic analysis and the rest should just work.