Skip to content

Commit 650e563

Browse files
committed
Updating MicroBuild Auth
1 parent f336929 commit 650e563

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

VSInsertion/Pipelines/build.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ parameters:
1919
- name: RunTests
2020
type: string
2121
default: true
22-
- name: SignType
23-
type: string
24-
default: real
2522
variables:
26-
- name: ApiScanClientId
27-
value: d318cba7-db4d-4fb3-99e1-01879cb74e91
2823
- name: DropRoot
2924
value: '\\cpvsbuild\drops'
3025
- name: GitCommitDescription
@@ -43,8 +38,6 @@ variables:
4338
value: ${{parameters.InsertIntoVS}}
4439
- name: RunTests
4540
value: ${{parameters.RunTests}}
46-
- name: SignType
47-
value: ${{parameters.SignType}}
4841
- name: BuildConfiguration
4942
value: RelWithDebInfo
5043
- name: BuildPlatform
@@ -362,7 +355,8 @@ extends:
362355
mb:
363356
signing:
364357
enabled: true
365-
signType: $(SignType)
358+
signType: 'real'
359+
signWithProd: true
366360
zipSources: false
367361
outputParentDirectory: $(OutputParentPath)
368362
outputs:
@@ -760,13 +754,15 @@ extends:
760754
- task: securedevelopmentteam.vss-secure-development-tools.build-task-apiscan.APIScan@2
761755
displayName: 'Run APIScan - x64 x86'
762756
inputs:
757+
azureSubscription: 'VSEng-APIScanSC'
763758
softwareFolder: '$(SymbolsDirectory)/x64;$(SymbolsDirectory)/x86'
764759
softwareName: CMake
765760
softwareVersionNum: '$(CMakeVersion)'
766761
symbolsFolder: '$(SymbolsDirectory)'
767762
isLargeApp: false
768763
env:
769-
AzureServicesAuthConnectionString: RunAs=App;AppId=$(ApiScanClientId)
764+
AzureServicesAuthConnectionString: RunAs=App;AppId=d318cba7-db4d-4fb3-99e1-01879cb74e91;TenantId=72f988bf-86f1-41af-91ab-2d7cd011db47;ServiceConnectionId=93e24264-c5e6-4681-8175-ec8a41668480;
765+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
770766
- task: CmdLine@2
771767
displayName: Clear APIScan environment
772768
inputs:

0 commit comments

Comments
 (0)