I am using Microsoft hosted agent on my pipeline. I switch all the task in pipeline to use C drive. But on SonarAnalyzer I can’t find a way to change the build directory to C drive.
Sonar Analyzer will work perfectly fine if I didn’t change build to C drive.
Is there any way to change the path for the analyser to C drive?
Hi,
Analysis should be kicked off from the root of the project directory. If you’re doing everything in C, make sure you’re cd
d into C before you invoke analysis.
HTH,
Ann
Hi,
Please copy/paste the full text of your analysis log, starting from the analysis command itself.
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
This guide will help you find them.
Thx,
Ann