@@ -38,6 +38,10 @@ resources:
3838 type : git
3939 name : VCLS-Extensions
4040 ref : refs/heads/dev17
41+ parameters :
42+ - name : SignType
43+ type : string
44+ default : ' test'
4145variables :
4246- name : ApiScanClientId
4347 value : d318cba7-db4d-4fb3-99e1-01879cb74e91
@@ -69,8 +73,6 @@ variables:
6973 value : /p:Configuration="$(BuildConfiguration)"
7074- name : Packaging.EnableSBOMSigning
7175 value : " $(TAfGTEnableSBOMSigning)"
72- - name : DropPAT
73- value : " $(TAfGTDropPAT)"
7476- name : ProductComponent
7577 value : " $(TAfGTProductComponent)"
7678- name : Publish
@@ -82,8 +84,6 @@ variables:
8284 value : " $(RealSign)"
8385- name : RetainBuild
8486 value : " $(TAfGTRetainBuild)"
85- - name : SignType
86- value : " $(TAfGTSignType)"
8787- name : SYMBOLS_PAT
8888 value : " $(GoogleTestSymbolsPat)"
8989- name : smPassword
@@ -146,7 +146,9 @@ extends:
146146 mb :
147147 signing :
148148 enabled : true
149- signType : $(SignType)
149+ signType : ' ${{ parameters.SignType }}'
150+ ${{ if eq(parameters.SignType, 'real') }} :
151+ signWithProd : true
150152 localization :
151153 enabled : true
152154 steps :
@@ -423,15 +425,15 @@ extends:
423425 inputs :
424426 dropFolder : $(Build.ArtifactStagingDirectory)\drop
425427 dropName : Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)
426- accessToken : $(DropPAT )
428+ accessToken : $(System.AccessToken )
427429 dropServiceUri : https://devdiv.artifacts.visualstudio.com/DefaultCollection
428430 vsDropServiceUri : " https://vsdrop.corp.microsoft.com/file/v1"
429431 - task : ms-vseng.MicroBuildShipTasks.4a4e1dc3-01d0-484f-94ac-f918aaf7d509.MicroBuildRetainVstsDrops@1
430432 displayName : Retain VSTS Drops
431433 condition : and(succeeded(), eq(variables['RetainBuild'], true))
432434 inputs :
433435 DropNames : Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)
434- AccessToken : $(DropPAT )
436+ AccessToken : $(System.AccessToken )
435437 DropServiceUri : https://devdiv.artifacts.visualstudio.com/DefaultCollection
436438 - task : ms-vseng.MicroBuildShipTasks.0ffdda1d-8c7b-40da-b8b1-061660eaeea3.MicroBuildArchiveSymbols@5
437439 displayName : ' Archive TestAdapterForGoogleTest on Symweb'
0 commit comments