Add artifacts for failure build to debug. (#9213)

This commit is contained in:
Shilong Liu 2021-11-10 23:15:06 +08:00 committed by GitHub
parent b31220530a
commit 1025296cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,9 @@ jobs:
postSteps:
- script: cp target -r $(Build.ArtifactStagingDirectory)/
displayName: Copy Artifacts
condition: always()
- publish: $(Build.ArtifactStagingDirectory)
condition: always()
artifact: 'sonic-buildimage.$(GROUP_NAME)$(GROUP_EXTNAME)'
displayName: "Archive sonic image"
- ${{ parameters.postSteps }}