Upload artifact logs for CI Test runs (#7251)

This commit is contained in:
Justin Kotalik 2019-02-04 13:55:23 -08:00 committed by GitHub
parent f888a37712
commit 1d2838ea2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -291,6 +291,10 @@ jobs:
beforeBuild:
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
displayName: Setup IISExpress test certificates and schema
artifacts:
- name: Windows_Test_Logs
path: artifacts/logs/
publishOnError: true
- template: jobs/default-build.yml
parameters:
condition: ne(variables['SkipTests'], 'true')
@ -302,6 +306,10 @@ jobs:
beforeBuild:
- bash: "./eng/scripts/install-nginx-mac.sh"
displayName: Installing Nginx
artifacts:
- name: MacOS_Test_Logs
path: artifacts/logs/
publishOnError: true
- template: jobs/default-build.yml
parameters:
condition: ne(variables['SkipTests'], 'true')
@ -313,6 +321,10 @@ jobs:
beforeBuild:
- bash: "./eng/scripts/install-nginx-linux.sh"
displayName: Installing Nginx
artifacts:
- name: Linux_Test_Logs
path: artifacts/logs/
publishOnError: true
- template: jobs/iisintegration-job.yml
parameters:
condition: ne(variables['SkipTests'], 'true')

View File

@ -14,3 +14,7 @@ jobs:
condition: always()
jobName: ANCM_${{ parameters.TestGroupName }}
jobDisplayName: "Test: ANCM ${{ parameters.TestGroupName }}"
artifacts:
- name: IIS_${{ parameters.TestGroupName }}_Logs
path: artifacts/logs/
publishOnError: true