@@ -38,61 +38,62 @@ 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'
4545 - template : templates/build/build-and-coverage.yml
4646 - template : templates/build/publish-artefacts.yml
47- - template : templates/alert-failure.yml
4847
49- - stage : Maven-Preview
48+ - stage : Maven_Preview
5049 condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
5150 jobs :
52- - deployment : Maven-Preview
51+ - deployment : Maven_Preview
5352 environment : ' MSGraph SDK Development - Java'
5453 pool :
5554 vmImage : windows-latest
5655 strategy :
5756 runOnce :
5857 deploy :
59- steps :
58+ steps :
59+ - template : templates/download-artifacts.yml
60+ - template : templates/install-java.yml
6061 - template : templates/secure-files.yml
6162 - template : templates/copy-and-build.yml
6263 parameters :
6364 task : ' publishSnapshotPublicationToSonatypeSnapshotRepository'
64- - template : templates/alert-failure.yml
6565
66- - stage : Maven-Release-And-Github-Release
66+ - stage : Maven_Release_And_Github_Release
6767 dependsOn : []
6868 condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
6969 jobs :
70- - deployment : Maven-Release
70+ - deployment : Maven_Release
7171 environment : ' MSGraph SDK Development - Java'
7272 pool :
7373 vmImage : windows-latest
7474 strategy :
7575 runOnce :
7676 deploy :
7777 steps :
78+ - template : templates/download-artifacts.yml
79+ - template : templates/install-java.yml
7880 - template : templates/secure-files.yml
7981 parameters :
8082 stageID : ' release'
8183 - template : templates/copy-and-build.yml
8284 parameters :
8385 task : ' publishMavenCentralReleasePublicationToSonatypeRepository'
84- - template : templates/alert-failure.yml
8586
86- - deployment : Github-Release
87- dependsOn : Maven-Release
87+ - deployment : Github_Release
88+ dependsOn : Maven_Release
8889 environment : ' MSGraph SDK Development - Java'
8990 pool :
9091 vmImage : windows-latest
9192 strategy :
9293 runOnce :
9394 deploy :
9495 steps :
96+ - template : templates/download-artifacts.yml
9597 - template : templates/version-and-release.yml
9698 parameters :
97- gitConnection : ' ramsessanchez'
98- - template : templates/alert-failure.yml
99+ gitConnection : ' microsoftgraphrelease'
0 commit comments