SonarQube integration through Azure DevOps pipeline:
Using the SonarQube plugin in azure DevOps with SonarQube enterprise version 7.9.1.
While performing SonarQube Run Analysis task getting the following error:
`java.lang.IllegalStateException: Fail to request https://sonar.X.X.X/sonarqube/api/ce/submit?projectKey=test&projectName=test
Caused by: javax.net.ssl.SSLPeerUnverifiedException: Hostname sonar.X,X.X not verified (no certificates) at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:353) at
Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:
7.9.1 → 8.9.10 → 9.8 (last step optional)
You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.
If your error persists after upgrade, please come back to us.
Please share us solution for this no certificate error. Kindly Share us other solution which shall fix this error without upgrade for now.
Also share us the upgrading steps too. We will perform.
Here, version might not be the issue.
Because locally using the sonarscanner-cli to connect to the same installed SonarQube is reachable and scan is success & result is been viewed.
Through azure devops pipeline- sonar Run Analysis, it is not able to find the JAVA certificates even after passing JAVA_PATH, NODE_EXTRA_CA_CERTS.
Here, need your inputs.