build - only publish log files when tests run

This commit is contained in:
Benjamin Pasero 2021-06-15 12:03:44 +02:00 committed by Johannes Rieken
parent 2bb8203525
commit 2d83afe542
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798
3 changed files with 3 additions and 3 deletions

View file

@ -259,7 +259,7 @@ steps:
targetPath: .build/logs
displayName: "Publish Log Files"
continueOnError: true
condition: succeededOrFailed()
condition: and(succeededOrFailed(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- task: PublishTestResults@2
displayName: Publish Tests Results

View file

@ -217,7 +217,7 @@ steps:
targetPath: .build/logs
displayName: "Publish Log Files"
continueOnError: true
condition: succeededOrFailed()
condition: and(succeededOrFailed(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- task: PublishTestResults@2
displayName: Publish Tests Results

View file

@ -201,7 +201,7 @@ steps:
targetPath: .build\logs
displayName: "Publish Log Files"
continueOnError: true
condition: succeededOrFailed()
condition: and(succeededOrFailed(), eq(variables['VSCODE_STEP_ON_IT'], 'false'), ne(variables['VSCODE_ARCH'], 'arm64'))
- task: PublishTestResults@2
displayName: Publish Tests Results