Unable to execute SonarQube scanner via ant

Hey there.

Your SonarQube server is being served over HTTPS which means a reverse proxy is sitting in front of your SonarQube specify and, among other things, specifying what protocol versions (TLS 1, 1.1, 1.2…) are allowed to be used by clients in communicating with the server.

So if you see this error:

There’s a mismatch between the Java client (being used to run ant and the scanner) and the server. You might find this StackOverflow post helpful: java - javax.net.ssl.SSLException: Received fatal alert: protocol_version - Stack Overflow