Hi all, just got an issue with SonarQube with Azure DevOps build. Can you please help?
Sonar: (Abcd.Security.csproj) Project processed successfully
Sonar: (Abcd.Security.Demo.Mvc.csproj) Project processed successfully
Sonar: (Abcd.Security.Demo.Mvc.csproj) Project processed successfully
##[debug]Processed: ##vso[task.logdetail id=4ea2ede3-5a82-4ff8-8aa8-6b02922e8b45;parentid=;name=SonarQube.Integration.targets;type=Build;starttime=2022-02-07T22:22:05.0925152Z;state=InProgress;]
##[error]/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(405,5): Error MSB3677: Unable to move file "/home/vsts/work/1/.sonarqube/out/7/ProjectInfo.xml" to "/ProjectInfo.xml". Access to the path '/ProjectInfo.xml' is denied.
##[debug]Processed: ##vso[task.logissue type=Error;sourcepath=/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets;linenumber=405;columnnumber=5;code=MSB3677;]Unable to move file "/home/vsts/work/1/.sonarqube/out/7/ProjectInfo.xml" to "/ProjectInfo.xml". Access to the path '/ProjectInfo.xml' is denied.
##[debug]Processed: ##vso[task.logdetail id=4ea2ede3-5a82-4ff8-8aa8-6b02922e8b45;parentid=;type=Build;result=Failed;finishtime=2022-02-07T22:22:05.0925780Z;progress=100;state=Completed;parentid=;name=;]
/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(405,5): error MSB3677: Unable to move file "/home/vsts/work/1/.sonarqube/out/7/ProjectInfo.xml" to "/ProjectInfo.xml". Access to the path '/ProjectInfo.xml' is denied. [/home/vsts/work/1/s/demo/Abcd.Security.Demo.Mvc/Abcd.Security.Demo.Mvc.csproj]
##[debug]Processed: ##vso[task.logdetail id=0038d48d-ab87-446d-8a77-b535bf0d131f;parentid=;name=SonarQube.Integration.targets;type=Build;starttime=2022-02-07T22:22:05.0928346Z;state=InProgress;]
##[error]/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(405,5): Error MSB3677: Unable to move file "/home/vsts/work/1/.sonarqube/out/6/ProjectInfo.xml" to "/ProjectInfo.xml". Access to the path '/ProjectInfo.xml' is denied.
##[debug]Processed: ##vso[task.logissue type=Error;sourcepath=/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets;linenumber=405;columnnumber=5;code=MSB3677;]Unable to move file "/home/vsts/work/1/.sonarqube/out/6/ProjectInfo.xml" to "/ProjectInfo.xml". Access to the path '/ProjectInfo.xml' is denied.
##[debug]Processed: ##vso[task.logdetail id=0038d48d-ab87-446d-8a77-b535bf0d131f;parentid=;type=Build;result=Failed;finishtime=2022-02-07T22:22:05.0934843Z;progress=100;state=Completed;parentid=;name=;]
/home/vsts/work/1/.sonarqube/bin/targets/SonarQube.Integration.targets(405,5): error MSB3677: Unable to move file "/home/vsts/work/1/.sonarqube/out/6/ProjectInfo.xml" to "/ProjectInfo.xml". Access to the path '/ProjectInfo.xml' is denied. [/home/vsts/work/1/s/demo/Abcd.Security.Demo.Mvc/Abcd.Security.Demo.Mvc.csproj]
Build FAILED.