Skip to content

Commit 325e0ae

Browse files
authored
Update APIScan task configuration in build pipeline (#56)
Update APIScan task
1 parent 3dd6565 commit 325e0ae

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

azure-pipelines/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ resources:
66
type: git
77
name: 1ESPipelineTemplates/1ESPipelineTemplates
88
ref: refs/tags/release
9-
variables:
10-
- name: ApiScanClientId
11-
value: d318cba7-db4d-4fb3-99e1-01879cb74e91
129
extends:
1310
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
1411
parameters:
@@ -91,6 +88,7 @@ extends:
9188
- task: APIScan@2
9289
displayName: Run APIScan
9390
inputs:
91+
azureSubscription: 'VSEng-APIScanSC'
9492
softwareFolder: '$(Build.SourcesDirectory)/out/Release/x64;$(Build.SourcesDirectory)/out/Release/x86'
9593
softwareName: 'VCPerf'
9694
softwareVersionNum: '$(VersionString)'
@@ -99,4 +97,5 @@ extends:
9997
preserveTempFiles: true
10098
toolVersion: LatestPreRelease
10199
env:
102-
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId)
100+
AzureServicesAuthConnectionString: RunAs=App;AppId=d318cba7-db4d-4fb3-99e1-01879cb74e91;TenantId=72f988bf-86f1-41af-91ab-2d7cd011db47;ServiceConnectionId=93e24264-c5e6-4681-8175-ec8a41668480;
101+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

0 commit comments

Comments
 (0)