diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index c0e2a13a1153..9b0ccc891d27 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -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') diff --git a/.azure/pipelines/jobs/iisintegration-job.yml b/.azure/pipelines/jobs/iisintegration-job.yml index 695964f24742..281bca527888 100644 --- a/.azure/pipelines/jobs/iisintegration-job.yml +++ b/.azure/pipelines/jobs/iisintegration-job.yml @@ -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