Skip to content

Commit

Permalink
Restoring Pre-cake configuation
Browse files Browse the repository at this point in the history
  • Loading branch information
kjacobsen committed Jan 8, 2020
1 parent cc77d2b commit 6b2a8e1
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions azure-pipelines.yml
Expand Up @@ -13,12 +13,33 @@ variables:
artifactname: 'planetpowershell'

steps:
- task: Cake@0
displayName: 'Build with Cake'
- task: NuGetToolInstaller@0

- 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:
testAssemblyVer2: |
**\$(BuildConfiguration)\*test*.dll
!**\obj\**
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: PublishSymbols@2
displayName: 'Publish symbols path'
inputs:
script: 'build.cake'
target: 'Build'
verbosity: 'Normal'
SearchPattern: '**\bin\**\*.pdb'
PublishSymbols: false
continueOnError: true

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact'
Expand Down

0 comments on commit 6b2a8e1

Please sign in to comment.