21 lines
921 B
YAML
21 lines
921 B
YAML
jobs:
|
|
- template: default-build.yml
|
|
parameters:
|
|
buildScript: .\build.cmd
|
|
buildArgs: "-ci -test -projects src/Servers/IIS/**/*.csproj ${{ parameters.skipArgs }}"
|
|
poolName: "Hosted VS2017"
|
|
poolVmImage: "vs2017-win2016"
|
|
beforeBuild:
|
|
- powershell: "& ./src/Servers/IIS/tools/InstallIISFeatures.ps1; & ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1; & ./src/Servers/IIS/tools/SetupTestEnvironment.ps1 Setup"
|
|
displayName: Prepare repo
|
|
afterBuild:
|
|
- powershell: "& ./src/Servers/IIS/tools/SetupTestEnvironment.ps1 Shutdown"
|
|
displayName: Stop AppVerifier
|
|
condition: always()
|
|
jobName: ANCM_${{ parameters.TestGroupName }}
|
|
jobDisplayName: "Test: ANCM ${{ parameters.TestGroupName }}"
|
|
artifacts:
|
|
- name: IIS_${{ parameters.TestGroupName }}_Logs
|
|
path: artifacts/logs/
|
|
publishOnError: true
|