Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-15061

Explain how to set up Java 11 for Azure Pipelines

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.1
    • Component/s: Web
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeremy.davis Jeremy Davis
              Reporter:
              wouter.admiraal Wouter Admiraal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: