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:
parent
cc69faf81d
commit
3e093155b1
@ -12,11 +12,7 @@ jobs:
|
|||||||
displayName: Build ${{ parameters.platform }}
|
displayName: Build ${{ parameters.platform }}
|
||||||
condition: ${{ parameters.condition }}
|
condition: ${{ parameters.condition }}
|
||||||
pool:
|
pool:
|
||||||
name: Package ES Custom Demands Lab A
|
vmImage: vs2017-win2016
|
||||||
demands:
|
|
||||||
- msbuild
|
|
||||||
- visualstudio
|
|
||||||
- ClientAlias -equals PKGESUTILAPPS
|
|
||||||
variables:
|
variables:
|
||||||
BuildConfiguration: Release
|
BuildConfiguration: Release
|
||||||
BuildPlatform: ${{ parameters.platform }}
|
BuildPlatform: ${{ parameters.platform }}
|
||||||
@ -39,6 +35,15 @@ jobs:
|
|||||||
parameters:
|
parameters:
|
||||||
extraMsBuildArgs: '/p:IsStoreBuild=true'
|
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
|
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
|
||||||
displayName: Run BinSkim
|
displayName: Run BinSkim
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -10,11 +10,7 @@ jobs:
|
|||||||
displayName: Build ${{ parameters.platform }}
|
displayName: Build ${{ parameters.platform }}
|
||||||
condition: ${{ parameters.condition }}
|
condition: ${{ parameters.condition }}
|
||||||
pool:
|
pool:
|
||||||
name: Package ES Custom Demands Lab A
|
vmImage: vs2017-win2016
|
||||||
demands:
|
|
||||||
- msbuild
|
|
||||||
- visualstudio
|
|
||||||
- ClientAlias -equals PKGESUTILAPPS
|
|
||||||
variables:
|
variables:
|
||||||
BuildConfiguration: Release
|
BuildConfiguration: Release
|
||||||
BuildPlatform: ${{ parameters.platform }}
|
BuildPlatform: ${{ parameters.platform }}
|
||||||
|
@ -42,12 +42,3 @@ steps:
|
|||||||
artifactName: drop
|
artifactName: drop
|
||||||
pathToPublish: $(Build.BinariesDirectory)
|
pathToPublish: $(Build.BinariesDirectory)
|
||||||
parallel: true
|
parallel: 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)
|
|
@ -17,11 +17,7 @@ jobs:
|
|||||||
in(dependencies.BuildARM64.result, 'Succeeded', 'SucceededWithIssues', 'Skipped')
|
in(dependencies.BuildARM64.result, 'Succeeded', 'SucceededWithIssues', 'Skipped')
|
||||||
)
|
)
|
||||||
pool:
|
pool:
|
||||||
name: Package ES Custom Demands Lab A
|
vmImage: vs2017-win2016
|
||||||
demands:
|
|
||||||
- msbuild
|
|
||||||
- visualstudio
|
|
||||||
- ClientAlias -equals PKGESUTILAPPS
|
|
||||||
workspace:
|
workspace:
|
||||||
clean: outputs
|
clean: outputs
|
||||||
steps:
|
steps:
|
||||||
|
@ -14,9 +14,7 @@ jobs:
|
|||||||
- job: WindowsInternalRelease
|
- job: WindowsInternalRelease
|
||||||
dependsOn: Package
|
dependsOn: Package
|
||||||
pool:
|
pool:
|
||||||
name: Package ES Custom Demands Lab A
|
name: Package ES Lab E
|
||||||
demands:
|
|
||||||
- ClientAlias -equals PKGESUTILAPPS
|
|
||||||
workspace:
|
workspace:
|
||||||
clean: outputs
|
clean: outputs
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user