mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 04:58:04 +08:00
[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:
parent
af9d0701be
commit
bf7dbde05e
@ -51,7 +51,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)/failure-logs'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)/failure-logs'
|
||||||
ArtifactName: 'failure logs for x64-linux'
|
ArtifactName: 'failure logs for x64-linux'
|
||||||
condition: failed()
|
condition: always()
|
||||||
- bash: |
|
- bash: |
|
||||||
python3 scripts/file_script.py /mnt/vcpkg-ci/installed/vcpkg/info/
|
python3 scripts/file_script.py /mnt/vcpkg-ci/installed/vcpkg/info/
|
||||||
displayName: 'Build a file list for all packages'
|
displayName: 'Build a file list for all packages'
|
||||||
|
@ -50,7 +50,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)/failure-logs'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)/failure-logs'
|
||||||
ArtifactName: 'failure logs for x64-osx'
|
ArtifactName: 'failure logs for x64-osx'
|
||||||
condition: failed()
|
condition: always()
|
||||||
- bash: |
|
- bash: |
|
||||||
python3 scripts/file_script.py /Users/vagrant/Data/installed/vcpkg/info/
|
python3 scripts/file_script.py /Users/vagrant/Data/installed/vcpkg/info/
|
||||||
displayName: 'Build a file list for all packages'
|
displayName: 'Build a file list for all packages'
|
||||||
|
@ -87,4 +87,4 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)\failure-logs'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)\failure-logs'
|
||||||
ArtifactName: 'failure logs for ${{ parameters.triplet }}'
|
ArtifactName: 'failure logs for ${{ parameters.triplet }}'
|
||||||
condition: failed()
|
condition: always()
|
||||||
|
@ -70,7 +70,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)\failure-logs'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)\failure-logs'
|
||||||
ArtifactName: 'failure logs for ${{ parameters.triplet }}'
|
ArtifactName: 'failure logs for ${{ parameters.triplet }}'
|
||||||
condition: failed()
|
condition: always()
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Build a file list for all packages'
|
displayName: 'Build a file list for all packages'
|
||||||
condition: always()
|
condition: always()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user