I get the following error when i try to connect sonarqube with azure devops build pipeline

B. Akshay

[error][SQ] API GET '/api/server/version' failed, error was:
{ "code": "ECONNREFUSED", "errno": "ECONNREFUSED",
"syscall":"connect","address":"127.0.0.1","port":9000 }

I have configured sonarqube and it's running fine on localhost.

Levi Lu-MSFT

You may need to run your build pipeline on your on-premise agent in order to integrate with your local sonarque server. For cloud hosted agent cannot access local your SQ server with address 127.0.0.1:9000.

It is easy to install and configure self-hosted agents, please check the microsoft official detailed guidance here.

Please check the exercise 2 here for detailed steps to integrate build pipeline with SonarQube .

However you can also follow the detailed steps in exercise 1 here to create a sonarque server hosted on azure. Azure hosted SQ server works with both on-premise agents and microsoft-hosted agents.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How do I get my Azure DevOps Pipeline build to fail when my linting script returns an error?

When I try to build app by Android studio , I get the following error that the Gradle tasks connects timeout

How do I get Build ID of an In progress Pipeline in Azure DevOps

I get the following error when running npm build

I try to build Follow system, I have error when i try to get the pk of the vested account

Why I get error when try build image in docker?

Unable to open Excel when i run build (vstest) in azure devops pipeline

Do I need a trigger for a Build Validation pipeline in Azure DevOps

I am getting following error when I try to add constraint

i try to solve this issue but i get the following Error

How to build F# projects with Azure Devops Pipelines? I get error 'The target "Build" does not exist in the project'

Install scrapy ERROR - When I try to install scrapy I get the following error that I do not know how to fix it:

I get this error when I try to install

I get the error "error: CL/cl.h: No such file or directory" when I try to build a project on Qt

How do I include a license file when when doing an ASP.net core build and publish in an Azure Devops Pipeline?

Maven build error in Azure DevOps Pipeline

Why I get a "Bad Request" Error 400 when I try to connect with Api with fetch?

I get error when i run My function in Logic App Designer , following the azure sample project documentation

I get an error when I try to run yarn build in next.js

Why i get build error when i try to open my android studio project?

when i try to create a text file the following error is thrown

I get an error whenever I try to connect database

Using Azure DevOps, how do I migrate a release pipeline to code, similar to build pipeline yml?

Azure Devops CI pipeline failing when adding SonarQube

When I run the command to build ionic app: ionic cordova build android --prod --verbose. I get the following error:

When I try to build the APK Following shows in the debug console. Build: Build Failed with an exception

Why do i get the following error, when i try to click a asp.net button using vb.net?

How can I exclude changes to the pipeline yaml file to trigger a build i azure devops?

Azure Devops Pipeline getting `default literal` error on Pipeline build