зеркало из https://github.com/xamarin/AndroidX.git
[ci] Ensure logs and artifacts get published on failed builds. (#876)
After [migrating to the 1ES template](https://github.com/xamarin/AndroidX/pull/844), when our build fails, no logs or artifacts are retained, making it very hard to diagnose the issue. Add an `always` condition to the output upload so these will get saved. Example build demonstrating artifacts are uploaded on failure: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=9440304&view=results
This commit is contained in:
Родитель
1f215c0a5c
Коммит
7702d1663a
|
@ -44,6 +44,7 @@ jobs:
|
|||
- output: pipelineArtifact
|
||||
targetPath: ${{ parameters.artifactsPath }}
|
||||
artifactName: output-${{ parameters.name }}
|
||||
condition: always()
|
||||
|
||||
steps:
|
||||
- template: setup-environment.yml
|
||||
|
|
Загрузка…
Ссылка в новой задаче