From 659a1ef47e981efae25e81cfee1a36f9d75e0215 Mon Sep 17 00:00:00 2001 From: Paolo Patierno Date: Fri, 20 Dec 2024 14:59:30 +0100 Subject: [PATCH] Fixed missing Java 17 installation on deploy job (#957) Signed-off-by: Paolo Patierno --- .azure/templates/jobs/deploy_java.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.azure/templates/jobs/deploy_java.yaml b/.azure/templates/jobs/deploy_java.yaml index 0a6a74bc1..346a9a7cc 100644 --- a/.azure/templates/jobs/deploy_java.yaml +++ b/.azure/templates/jobs/deploy_java.yaml @@ -1,6 +1,13 @@ jobs: - job: 'deploy_java' displayName: 'Deploy Java' + # Strategy for the job + strategy: + matrix: + 'java-17': + image: 'Ubuntu-22.04' + jdk_version: '17' + main_build: 'true' # Set timeout for jobs timeoutInMinutes: 60 # Base system @@ -8,6 +15,7 @@ jobs: vmImage: 'Ubuntu-22.04' # Pipeline steps steps: + - template: '../steps/prerequisites/install_java.yaml' - task: DownloadPipelineArtifact@2 inputs: source: '${{ parameters.artifactSource }}'