@@ -43,18 +43,6 @@ stages:
4343 dependsOn : Signing
4444 condition : and(succeeded(), ne(variables['SetDevVersion'], 'true'), ne(variables['Skip.Release'], 'true'), ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-net-pr'))
4545 jobs :
46- - job : InstallationCheck
47- condition : ne('${{ artifact.skipPublishPackage }}', 'true')
48- displayName : " Installation Check"
49- steps :
50- - download : current
51- artifact : ${{parameters.ArtifactName}}-signed
52- - pwsh : mkdir InstallationCheck
53- displayName : Create Testing Directory
54- - pwsh : |
55- $(System.DefaultWorkingDirectory)/eng/scripts/InstallationCheck.ps1 -ArtifactsDirectory ${{parameters.ArtifactName}} -Artifact ${{artifact.name}} -PipelineWorkspace $(Pipeline.Workspace)
56- displayName: Verify Package Installation
57- workingDirectory: $(System.DefaultWorkingDirectory)/InstallationCheck
5846 - deployment : TagRepository
5947 displayName : " Create release tag"
6048 condition : ne(variables['Skip.TagRepository'], 'true')
@@ -69,6 +57,8 @@ stages:
6957 deploy :
7058 steps :
7159 - checkout : self
60+ - download : current
61+ artifact : ${{parameters.ArtifactName}}-signed
7262 - template : /eng/common/pipelines/templates/steps/retain-run.yml
7363 - template : /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
7464 parameters :
@@ -80,6 +70,15 @@ stages:
8070 PackageName : ${{artifact.name}}
8171 ServiceName : ${{parameters.ServiceDirectory}}
8272 ForRelease : true
73+ - task : PowerShell@2
74+ inputs :
75+ filePath : $(System.DefaultWorkingDirectory)/eng/scripts/InstallationCheck.ps1
76+ pwsh : true
77+ arguments : >
78+ -ArtifactsDirectory "$(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed"
79+ -Artifact ${{artifact.name}}
80+ condition : and(succeeded(),ne('${{ artifact.skipPublishPackage }}', 'true'))
81+ displayName : Verify Package Installation
8382 - template : /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml
8483 parameters :
8584 ArtifactLocation : $(Pipeline.Workspace)/${{parameters.ArtifactName}}-signed/${{artifact.name}}
0 commit comments