Sonarqube scan and upload without saving source code

it looks like in the old version there is property sonar.importSources, that I can use to allow upload source code or disallow the uploading. however it’s depreciated.

May I know if there is alternative solutions to upload only the scan results without saving the source codes? thanks.


We removed that parameter/functionality with no replacement. We really can’t give you a good experience without having the code available to the server.