Move build jobs to hosted pools (#22)
* Move build jobs to the Hosted VS2017 pool instead of our internal pool * Move the prepare-release-internalonly job from a team-specific pool to a shared pool with more capacity * Remove symbol publishing from PR/CI builds since it's not necessary; do it only in release builds
This commit is contained in:
@@ -12,11 +12,7 @@ jobs:
|
||||
displayName: Build ${{ parameters.platform }}
|
||||
condition: ${{ parameters.condition }}
|
||||
pool:
|
||||
name: Package ES Custom Demands Lab A
|
||||
demands:
|
||||
- msbuild
|
||||
- visualstudio
|
||||
- ClientAlias -equals PKGESUTILAPPS
|
||||
vmImage: vs2017-win2016
|
||||
variables:
|
||||
BuildConfiguration: Release
|
||||
BuildPlatform: ${{ parameters.platform }}
|
||||
@@ -39,6 +35,15 @@ jobs:
|
||||
parameters:
|
||||
extraMsBuildArgs: '/p:IsStoreBuild=true'
|
||||
|
||||
- task: PublishSymbols@2
|
||||
displayName: Publish symbols
|
||||
inputs:
|
||||
symbolsFolder: $(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)
|
||||
searchPattern: '**/*.pdb'
|
||||
symbolServerType: teamServices
|
||||
treatNotIndexedAsWarning: true
|
||||
symbolsArtifactName: $(System.teamProject)/$(Build.BuildNumber)_$(BuildPlatform)$(BuildConfiguration)
|
||||
|
||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
|
||||
displayName: Run BinSkim
|
||||
inputs:
|
||||
|
Reference in New Issue
Block a user