Skip to content

Commit 8974990

Browse files
committed
Update buildAndPackage.yml for Azure Pipelines
1 parent 4fe5d40 commit 8974990

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

‎.azure-pipelines/buildAndPackage.yml‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,19 @@ stages:
5656
dependsOn: []
5757
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
5858
jobs:
59-
- job: Maven-Release
60-
steps:
61-
- template: templates/validation-request.yml
62-
- template: templates/download-artifacts.yml
63-
- template: templates/maven-release-stage/secure-files.yml
64-
- template: templates/maven-release-stage/copy-and-build.yml
65-
- template: templates/alert-failure.yml
59+
- deployment: Maven-Release
60+
environment: 'MSGraph SDK Development - Java'
61+
pool:
62+
vmImage: windows-latest
63+
strategy:
64+
runOnce:
65+
deploy:
66+
steps:
67+
- template: templates/validation-request.yml
68+
- template: templates/download-artifacts.yml
69+
- template: templates/maven-release-stage/secure-files.yml
70+
- template: templates/maven-release-stage/copy-and-build.yml
71+
- template: templates/alert-failure.yml
6672

6773
- stage: Github-Release
6874
dependsOn:

0 commit comments

Comments
 (0)