Hello,
I am using Azure Devops private agent for pipeline. I am deploying this agent on containers with java 8 it’s working fine. But once I upgrade openjdk to 11. I am getting following error:
INFO: Scanner configuration file: /vsts/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/1.12.0/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /vsts/agent/_work/1/s/sonar-project.properties
INFO: SonarScanner 4.3.0.2102
INFO: Java 11.0.5 Ubuntu (64-bit)
INFO: Linux 4.15.0-1082-azure amd64
INFO: User cache: /root/.sonar/cache
##[error]ERROR: SonarCloud server [https://sonarcloud.io] can not be reached
ERROR: SonarCloud server [https://sonarcloud.io] can not be reached
Can you please help me to resolve this?
Fyi, I am using openjdk. When I revert java version to 8 it’s working fine.