Hi, I have installed SonarScanner for MSBUILD and running it in Bitbucket pipeline.
When I run sonar scanner with “end” parameter, it shows error below:
SonarScanner for MSBuild 4.3.1
Using the .NET Core version of the Scanner for MSBuild
Default properties file was found at /opt/atlassian/pipelines/agent/build/sonar/SonarQube.Analysis.xml
Loading analysis properties from /opt/atlassian/pipelines/agent/build/sonar/SonarQube.Analysis.xml
SONAR_SCANNER_OPTS is not configured. Setting it to the default value of -Xmx1024m
Calling the SonarQube Scanner…
/opt/atlassian/pipelines/agent/build/sonar/sonar-scanner-18.104.22.1687/bin/sonar-scanner: exec: line 66: : Permission denied
The SonarQube Scanner did not complete successfully
12:12:25.915 Creating a summary markdown file…
12:12:25.915 Post-processing failed. Exit code: 1`
I’m not sure what permission it requires, given that I’m setting sonar.login and sonar.password variables and I can login successfully to the server with the credentials. I also run sonar-scanner begin and dotnet build command - all passes well.
I’m running server in AWS - I have used image created there.
Can you please advise?