Hi Team,
We are using SonarQube Community Edition Version 8.9.2 (build 46101). with azure devops pipeline.
Pipeline is working fine for the maven builds and coverage is also available in SonarQube.
But for Angular npm builds, pipeline is failing , while the agents are same for the maven and npm builds.
Please suggest any stepwise documentation for azure devops pipeline if any.
It will be appreciated, also I can share the build logs of the pipeline if needed.
Hi Colin,
Run Code analysis steps is failing -
While the same agent is running successful and showing coverage in Sonar for the Maven builds.
Issue is only with the Angular builds.
11:28:53.165 DEBUG: Download: http://104.40.244.144:9000/batch/index
##[error]11:28:58.224 ERROR: SonarQube server [http://104.40.244.144:9000] can not be reached
##[debug]Processed: ##vso[task.logissue type=error;]11:28:58.224 ERROR: SonarQube server [http://104.40.244.144:9000] can not be reached
11:28:58.224 ERROR: SonarQube server [http://104.40.244.144:9000] can not be reached
11:28:58.224 INFO: ------------------------------------------------------------------------
11:28:58.224 INFO: EXECUTION FAILURE
11:28:58.224 INFO: ------------------------------------------------------------------------
11:28:58.224 INFO: Total time: 5.715s
11:28:58.224 INFO: Final Memory: 3M/20M
##[error]11:28:58.224 ERROR: Error during SonarScanner execution
##[debug]Processed: ##vso[task.logissue type=error;]11:28:58.224 ERROR: Error during SonarScanner execution
11:28:58.224 ERROR: Error during SonarScanner execution
11:28:58.224 INFO: ------------------------------------------------------------------------
##[error]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
##[debug]Processed: ##vso[task.logissue type=error;]org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
##[error]at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)