jobs: - template: default-build.yml parameters: jobName: 'IISIntegration' jobDisplayName: 'IISIntegration' beforeBuild: - powershell: "& ./src/IISIntegration/tools/UpdateIISExpressCertificate.ps1; & ./src/IISIntegration/tools/SetupTestEnvironment.ps1 Setup" displayName: Prepare repo afterBuild: - powershell: "& ./src/IISIntegration/tools/SetupTestEnvironment.ps1 Shutdown" displayName: Stop AppVerifier condition: always() - task: PublishBuildArtifacts@1 displayName: Upload logs condition: eq(variables['system.pullrequest.isfork'], false) inputs: artifactName: logs artifactType: Container pathtoPublish: src/IISIntegration/artifacts/logs buildDirectory: src/IISIntegration