|
|
@ -9,26 +9,7 @@ trigger: |
|
|
pool: |
|
|
pool: |
|
|
vmImage: 'windows-latest' |
|
|
vmImage: 'windows-latest' |
|
|
|
|
|
|
|
|
variables: |
|
|
|
|
|
solution: '**/*.sln' |
|
|
|
|
|
buildPlatform: 'Any CPU' |
|
|
|
|
|
buildConfiguration: 'Release' |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- task: NuGetToolInstaller@1 |
|
|
- task: PowerShell@2 |
|
|
|
|
|
|
|
|
- task: NuGetCommand@2 |
|
|
|
|
|
inputs: |
|
|
|
|
|
restoreSolution: '$(solution)' |
|
|
|
|
|
|
|
|
|
|
|
- task: VSBuild@1 |
|
|
|
|
|
inputs: |
|
|
|
|
|
solution: '$(solution)' |
|
|
|
|
|
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"' |
|
|
|
|
|
platform: '$(buildPlatform)' |
|
|
|
|
|
configuration: '$(buildConfiguration)' |
|
|
|
|
|
|
|
|
|
|
|
- task: VSTest@2 |
|
|
|
|
|
inputs: |
|
|
inputs: |
|
|
platform: '$(buildPlatform)' |
|
|
filePath: 'etc/k8s/scripts/build-images.ps1' |
|
|
configuration: '$(buildConfiguration)' |
|
|
|