Merge commit '37cd9d4cb1717363822828addebeaf82f5786c59'

This commit is contained in:
Mirroring 2024-07-15 21:16:52 +00:00
commit 22f6d2820f
2 changed files with 16 additions and 2 deletions

View file

@ -216,7 +216,14 @@ jobs:
publishRunAttachments: true
testRunTitle: SourceBuild_SmokeTests_$(Agent.JobName)
- publish: '$(tarballDir)/artifacts/${{ parameters.architecture}}/Release/'
- task: CopyFiles@2
inputs:
SourceFolder: $(tarballDir)/artifacts/${{ parameters.architecture}}/Release/
TargetFolder: $(Build.ArtifactStagingDirectory)/publishing
displayName: Copy artifacts to Artifact Staging Directory
condition: succeededOrFailed()
- publish: $(Build.ArtifactStagingDirectory)/publishing
artifact: $(Agent.JobName)_Artifacts
displayName: Publish Artifacts
condition: succeededOrFailed()

View file

@ -218,10 +218,17 @@ jobs:
publishRunAttachments: true
testRunTitle: SourceBuild_SmokeTests_$(Agent.JobName)
- task: CopyFiles@2
inputs:
SourceFolder: $(tarballDir)/artifacts/${{ parameters.architecture}}/Release/
TargetFolder: $(Build.ArtifactStagingDirectory)/publishing
displayName: Copy artifacts to Artifact Staging Directory
condition: succeededOrFailed()
- task: 1ES.PublishPipelineArtifact@1
displayName: Publish Artifacts
inputs:
targetPath: $(tarballDir)/artifacts/${{ parameters.architecture}}/Release/
targetPath: $(Build.ArtifactStagingDirectory)/publishing
artifactName: $(Agent.JobName)_Artifacts
continueOnError: true
condition: succeededOrFailed()