We wanted to add SonarQube to our azure DevOps pipeline. It is a angular project and the Run Code analysis version is 5.7.0. The run code analysis task fails with the error in the image. The order of pipeline is,
npm install
Prepare analysis on SonarQube
npm run build dev2
Run Code Analysis
Publish Quality Gate Result
I have followed Azure DevOps Integration | SonarQube Docs and the Typescript option.