Skip to content

Commit 286a6e5

Browse files
committed
move install-java to templates and add it to every stage
1 parent 3923b07 commit 286a6e5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.azure-pipelines/buildAndPackage.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ stages:
3838
- job: Build
3939
steps:
4040
- template: templates/build/checkout-and-credscan.yml
41-
- template: templates/build/install-java.yml
41+
- template: templates/install-java.yml
4242
- template: templates/secure-files.yml
4343
parameters:
4444
stageID: 'build'
@@ -55,7 +55,8 @@ stages:
5555
strategy:
5656
runOnce:
5757
deploy:
58-
steps:
58+
steps:
59+
- template: templates/install-java.yml
5960
- template: templates/secure-files.yml
6061
- template: templates/copy-and-build.yml
6162
parameters:
@@ -73,6 +74,7 @@ stages:
7374
runOnce:
7475
deploy:
7576
steps:
77+
- template: templates/install-java.yml
7678
- template: templates/secure-files.yml
7779
parameters:
7880
stageID: 'release'
@@ -89,6 +91,7 @@ stages:
8991
runOnce:
9092
deploy:
9193
steps:
94+
- template: templates/install-java.yml
9295
- template: templates/version-and-release.yml
9396
parameters:
9497
gitConnection: 'microsoftgraphrelease'
File renamed without changes.

0 commit comments

Comments
 (0)