Provide more information when pipelines fail
- restore publication of flaky test results to AzDO Tests tab - upload logs and test results for forks too
This commit is contained in:
parent
7401e0be8d
commit
7d4b691d8b
|
|
@ -83,6 +83,7 @@ stages:
|
|||
- name: Code_Check_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
|
||||
# Build Windows (x64/x86)
|
||||
- template: jobs/default-build.yml
|
||||
|
|
@ -167,6 +168,7 @@ stages:
|
|||
- name: Windows_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Windows_Packages
|
||||
path: artifacts/packages/
|
||||
|
||||
|
|
@ -195,6 +197,7 @@ stages:
|
|||
- name: Windows_arm_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Windows_arm_Packages
|
||||
path: artifacts/packages/
|
||||
|
||||
|
|
@ -220,6 +223,7 @@ stages:
|
|||
- name: MacOS_x64_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: MacOS_x64_Packages
|
||||
path: artifacts/packages/
|
||||
- template: jobs/codesign-xplat.yml
|
||||
|
|
@ -280,6 +284,7 @@ stages:
|
|||
- name: Linux_x64_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Linux_x64_Packages
|
||||
path: artifacts/packages/
|
||||
- template: jobs/codesign-xplat.yml
|
||||
|
|
@ -309,6 +314,7 @@ stages:
|
|||
- name: Linux_arm_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Linux_arm_Packages
|
||||
path: artifacts/packages/
|
||||
- template: jobs/codesign-xplat.yml
|
||||
|
|
@ -338,6 +344,7 @@ stages:
|
|||
- name: Linux_arm64_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Linux_arm64_Packages
|
||||
path: artifacts/packages/
|
||||
- template: jobs/codesign-xplat.yml
|
||||
|
|
@ -370,6 +377,7 @@ stages:
|
|||
- name: Linux_musl_x64_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Linux_musl_x64_Packages
|
||||
path: artifacts/packages/
|
||||
- template: jobs/codesign-xplat.yml
|
||||
|
|
@ -402,6 +410,7 @@ stages:
|
|||
- name: Linux_musl_arm64_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Linux_musl_arm64_Packages
|
||||
path: artifacts/packages/
|
||||
- template: jobs/codesign-xplat.yml
|
||||
|
|
@ -424,13 +433,21 @@ stages:
|
|||
- powershell: "& ./build.ps1 -CI -NoBuild -Test /p:RunFlakyTests=true"
|
||||
displayName: Run Flaky Tests
|
||||
continueOnError: true
|
||||
- task: PublishTestResults@2
|
||||
displayName: Publish Flaky Test Results
|
||||
inputs:
|
||||
testResultsFormat: 'xUnit'
|
||||
testResultsFiles: '*.xml'
|
||||
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Flaky'
|
||||
artifacts:
|
||||
- name: Windows_Test_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Windows_Test_Results
|
||||
path: artifacts/TestResults/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
|
||||
- template: jobs/default-build.yml
|
||||
parameters:
|
||||
|
|
@ -450,9 +467,11 @@ stages:
|
|||
- name: Windows_Test_Templates_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Windows_Test_Templates_Results
|
||||
path: artifacts/TestResults/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
|
||||
- template: jobs/default-build.yml
|
||||
parameters:
|
||||
|
|
@ -473,13 +492,21 @@ stages:
|
|||
- bash: ./build.sh --no-build --ci --test -p:RunFlakyTests=true
|
||||
displayName: Run Flaky Tests
|
||||
continueOnError: true
|
||||
- task: PublishTestResults@2
|
||||
displayName: Publish Flaky Test Results
|
||||
inputs:
|
||||
testResultsFormat: 'xUnit'
|
||||
testResultsFiles: '*.xml'
|
||||
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Flaky'
|
||||
artifacts:
|
||||
- name: MacOS_Test_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: MacOS_Test_Results
|
||||
path: artifacts/TestResults/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
|
||||
- template: jobs/default-build.yml
|
||||
parameters:
|
||||
|
|
@ -502,13 +529,21 @@ stages:
|
|||
- bash: ./build.sh --no-build --ci --test -p:RunFlakyTests=true
|
||||
displayName: Run Flaky Tests
|
||||
continueOnError: true
|
||||
- task: PublishTestResults@2
|
||||
displayName: Publish Flaky Test Results
|
||||
inputs:
|
||||
testResultsFormat: 'xUnit'
|
||||
testResultsFiles: '*.xml'
|
||||
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Flaky'
|
||||
artifacts:
|
||||
- name: Linux_Test_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: Linux_Test_Results
|
||||
path: artifacts/TestResults/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
|
||||
# Source build
|
||||
- job: Source_Build
|
||||
|
|
|
|||
|
|
@ -44,5 +44,6 @@ jobs:
|
|||
- name: CodeSign_Xplat_${{ parameters.inputName }}_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
includeForks: true
|
||||
- name: ${{ parameters.inputName }}_Packages_Signed
|
||||
path: artifacts/packages/
|
||||
|
|
|
|||
Loading…
Reference in New Issue