Currently, Azure Pipelines uses Java 8 by default. But SonarQube requires Java 11. This implies the current steps we provide for the Maven and Gradle tutorials will lead to broken pipelines, with cryptic error message.
Before the Edit or add a new (Maven/Gradle) task instruction, we should add a new instruction:
(2) Add a new Java tool installer task
- Under JDK version, select 11 (or higher)
- Under JDK architecture, select x64
- Under JDK source, select Pre-Installed