This commit is contained in:
Marco Rossignoli 2022-06-20 20:44:53 +02:00 коммит произвёл GitHub
Родитель 0b1ac26845
Коммит 8c25ff0979
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -17,12 +17,14 @@ The goal of this document is to help the test platform users to collect useful i
inputs:
contents: '**/*vstestlog*.diag'
targetFolder: $(Build.ArtifactStagingDirectory)/vstestlog
condition: always()
- task: PublishPipelineArtifact@1
displayName: Publish vstestlog log
inputs:
targetPath: $(Build.ArtifactStagingDirectory)/vstestlog
artifactName: vstestlog
condition: always()
```
You can now zip/download all logs from the published artifacts view under the `vstestlog` folder.
@ -50,12 +52,14 @@ jobs:
sourceFolder: $(Agent.TempDirectory)
contents: '**/*.diag'
targetFolder: $(Build.ArtifactStagingDirectory)/vstestlog
condition: always()
- task: PublishPipelineArtifact@1
displayName: Publish vstestlog log
inputs:
targetPath: $(Build.ArtifactStagingDirectory)/vstestlog
artifactName: vstestlog
condition: always()
```
You can now zip/download all logs from the published artifacts view under the `vstestlog` folder.
@ -88,6 +92,7 @@ jobs:
contents: '**/*.diag'
targetFolder: $(Build.ArtifactStagingDirectory)/vstestlog
continueOnError: true
condition: always()
- task: PublishPipelineArtifact@1
displayName: Publish vstestlog log