[vcpkg] Always publish failure logs, even on success. (#14260)

This way we get failure logs for things excluded by ci.baseline.txt in the nightly builds.
This commit is contained in:
Billy O'Neal 2020-10-27 15:35:28 -07:00 committed by GitHub
parent af9d0701be
commit bf7dbde05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ jobs:
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/failure-logs'
ArtifactName: 'failure logs for x64-linux'
condition: failed()
condition: always()
- bash: |
python3 scripts/file_script.py /mnt/vcpkg-ci/installed/vcpkg/info/
displayName: 'Build a file list for all packages'

View File

@ -50,7 +50,7 @@ jobs:
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/failure-logs'
ArtifactName: 'failure logs for x64-osx'
condition: failed()
condition: always()
- bash: |
python3 scripts/file_script.py /Users/vagrant/Data/installed/vcpkg/info/
displayName: 'Build a file list for all packages'

View File

@ -87,4 +87,4 @@ jobs:
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)\failure-logs'
ArtifactName: 'failure logs for ${{ parameters.triplet }}'
condition: failed()
condition: always()

View File

@ -70,7 +70,7 @@ jobs:
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)\failure-logs'
ArtifactName: 'failure logs for ${{ parameters.triplet }}'
condition: failed()
condition: always()
- task: PowerShell@2
displayName: 'Build a file list for all packages'
condition: always()