I have .NET application and we have sonarqube server configuration with valid project.
I am trying to configure in DevOps pipeline but I am getting below error.
##[error]No agent found in pool which satisfies the following demand: java. All demands: msbuild, visualstudio, java, Agent.Version -gtVersion 2.144.0
Running this on self-hosted agent and it has all required softwares including java.
I am able to run my application without sonarqube run code analysis task.