Skip to content

Commit 659a1ef

Browse files
authored
Fixed missing Java 17 installation on deploy job (#957)
Signed-off-by: Paolo Patierno <[email protected]>
1 parent 47435a8 commit 659a1ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.azure/templates/jobs/deploy_java.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
jobs:
22
- job: 'deploy_java'
33
displayName: 'Deploy Java'
4+
# Strategy for the job
5+
strategy:
6+
matrix:
7+
'java-17':
8+
image: 'Ubuntu-22.04'
9+
jdk_version: '17'
10+
main_build: 'true'
411
# Set timeout for jobs
512
timeoutInMinutes: 60
613
# Base system
714
pool:
815
vmImage: 'Ubuntu-22.04'
916
# Pipeline steps
1017
steps:
18+
- template: '../steps/prerequisites/install_java.yaml'
1119
- task: DownloadPipelineArtifact@2
1220
inputs:
1321
source: '${{ parameters.artifactSource }}'

0 commit comments

Comments
 (0)