Skip to main content

All Questions

Tagged with
0 votes
0 answers
126 views

SonarQube server is not reachable from Jenkins pipeline

I have a separate server for SonarQube (10.xx.xx.999). Whenever I run the build pipeline in Jenkins it kicks off SonarQube scan. The Jenkins master dispatches this job to a slave that is a Windows ...
SriDev's user avatar
  • 3
0 votes
0 answers
344 views

SonarQube Scan multiple C# project (sonar.inclusions issue)

I am using SonarQube Community Edition Version 8.9.10 and Sonar Scanner for MSBuild (5.13.0.66756-net5.0) I have a folder containing multiple C# projects with a single .sln file, which usually takes ...
FarsoFracico's user avatar
0 votes
1 answer
242 views

Issue in Sonarqube coverage reported on Sonarqube and ADO

I am running Sonar analysis in Azure Pipelines on .net core project. While I get correct Code coverage analysis reported in Azure DevOps, I get a lot lesser code coverage on Sonarqube. When ...
Ajinkya Bapat's user avatar
-1 votes
2 answers
1k views

How to analyze C# and C++ projects using SonarQube in one pipeline build?

I have a project consists of 3 C++ sub projects and a C# main project, Below is my Yaml file to analyze it in azure pipeline using SonarQube. As you can see in the YAML file, I analyze all of 4 ...
Ming's user avatar
  • 475
1 vote
1 answer
1k views

SonarQube running .net project error : MsBuild.exe /t:Rebuild 'MsBuild.exe' is not recognized as an internal or external command

I have installed SonarQube, I am able to run .net core projects and analyse the codes, however I am trying to run on a .net project its not working, steps I followed: 1- I created a project in ...
MJ X's user avatar
  • 8,952
1 vote
1 answer
1k views

MSB3026 - Could not copy dll to destination, file locked by SonarQube analysis task

I'm facing the bellow issue, I've some files get locked from time to time, and it blocks my Azure Devops CI pipeline. It seems to be caused by a SonarQube analysis that works in parallel with MSBuild. ...
Mselmi Ali's user avatar
  • 1,237
1 vote
0 answers
643 views

Error sonarqube scanner:Unexpected character encountered while parsing value

Hello community friends Currently I'm trying to use sonarqube(v9.6.1) to scan my dotnet(v6.0) project but in the process I receive the error below and I don't know why? the output is not very clear. ...
overraidy's user avatar
2 votes
0 answers
1k views

SonarScanner CLI error: check sonar.projectKey and sonar.organization properties, SONAR_TOKEN variable

When using SonarScanner, following the suggested manual recipe for classic .NET and MSBuild - so all required properties and variable are passed to the CLI tool - I find the following error at the ...
Gerard Jaryczewski's user avatar
2 votes
1 answer
1k views

SonarScanner CLI error: failed to request and parse localhost:9000

When using SonarScanner against a local source, following the suggested manual recipe for classic .NET and MSBuild, I find the following error (look at the bottom line): SonarScanner for MSBuild 5.5.3 ...
Gerard Jaryczewski's user avatar
0 votes
1 answer
676 views

SonarScanner .NET (Framework) | Post-processing failed

The situation Hello everyone, I have a web site project I need to scan with the SonarScanner .NET because the "default cli" SonarScanner doesn't include C#. The problem I am not been able to ...
Bit's user avatar
  • 21
1 vote
1 answer
4k views

Sonarqube - SCM provider autodetection and PR decoration failed for analysis in directory with .git

Must-share information: SonarQube 9.1 TeamCity 2020.2.3 Teamcity Tool: SonarScanner for MSBuild 4.8.12008 Sonar analysis command run inside a Dockerfile Goal: Getting SCM autodetection and PR ...
Kevin B's user avatar
  • 71
0 votes
2 answers
2k views

Sonarscanner command is failing abruptly

we are using gitlab pipeline where Sonarscanner is used to scan the code. the codebase is .NET and all unit test cases along with codebase builds and executes fine. recently after integrating ...
user2315104's user avatar
  • 2,630
1 vote
1 answer
546 views

SonarQube 7.9.1 not able to scan .cs and sql files for .net project running through Jenkins

I have SonarQube version 7.9.1 and I am running sonar scan through Jenkins. It scans all the files but is unable to scan .cs and sql files for my MS project. How can I resolve this issue? sonar-...
SVD's user avatar
  • 385
0 votes
0 answers
1k views

SonarScanner.MSBuild.exe is not recognized on windows agent - GitHub Actions

I'm getting below error on windows agent while beginning the Sonarqube scanner. MSBuild.SonarQube.Runner.exe : The term 'MSBuild.SonarQube.Runner.exe' is not recognized as the name of a cmdlet, ...
Pedram's user avatar
  • 6,454
0 votes
1 answer
618 views

Sonar scanner for MSBuild ERROR: Failed to parse file [<path-to-file>l-debug.js] at line 55623: Unexpected token (

Trying to run sonarqube scan on a project and I am getting "Execution Success" as sonarqube result but the bamboo task result is in "Failure" state due to the below error: ERROR: ...
helloworld9's user avatar

15 30 50 per page
1
2 3 4 5
17