@@ -6,12 +6,6 @@ parameters:
66 - name : AgentOS
77 type : string
88 default : ' '
9- - name : DoEsrp
10- type : boolean
11- default : false
12- - name : signingIdentity
13- type : object
14- default : {}
159
1610steps :
1711- bash : |
@@ -75,57 +69,6 @@ steps:
7569 inputs :
7670 codeCoverageTool : ' Cobertura'
7771 summaryFileLocation : ' $(Build.SourcesDirectory)/report/Cobertura.xml'
78- - ${{ if eq(parameters['DoEsrp'], 'true') }} :
79- - task : EsrpCodeSigning@5
80- displayName : Code Sign ESRP - API DLL
81- condition : startsWith(variables.AgentOS, 'Linux')
82- inputs :
83- ConnectedServiceName : ${{ parameters.signingIdentity.serviceName }}
84- AppRegistrationClientId : ${{ parameters.signingIdentity.appId }}
85- AppRegistrationTenantId : ${{ parameters.signingIdentity.tenantId }}
86- AuthAKVName : ${{ parameters.signingIdentity.akvName }}
87- AuthCertName : ${{ parameters.signingIdentity.authCertName }}
88- AuthSignCertName : ${{ parameters.signingIdentity.signCertName }}
89- FolderPath : ' $(System.DefaultWorkingDirectory)/MSStore.API/bin/${{ parameters.dotnet_configuration }}/net10.0'
90- Pattern : ' MSStore.API.dll'
91- signConfigType : inlineSignParams
92- inlineOperation : |
93- [
94- {
95- "KeyCode": "CP-233863-SN",
96- "OperationCode": "StrongNameSign",
97- "Parameters": { },
98- "ToolName": "sign",
99- "ToolVersion": "1.0"
100- },
101- {
102- "KeyCode": "CP-233863-SN",
103- "OperationCode": "StrongNameVerify",
104- "Parameters": { },
105- "ToolName": "sign",
106- "ToolVersion": "1.0"
107- },
108- {
109- "KeyCode": "CP-230012",
110- "OperationCode": "SigntoolSign",
111- "Parameters": {
112- "OpusName": "Microsoft Store CLI",
113- "OpusInfo": "https://github.com/Microsoft/msstore-cli",
114- "FileDigest": "/fd \"SHA256\"",
115- "PageHash": "/PH",
116- "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
117- },
118- "ToolName": "sign",
119- "ToolVersion": "1.0"
120- },
121- {
122- "KeyCode": "CP-230012",
123- "OperationCode": "SigntoolVerify",
124- "Parameters": {},
125- "ToolName": "sign",
126- "ToolVersion": "1.0"
127- }
128- ]
12972- task : ComponentGovernanceComponentDetection@0
13073 displayName : ' Component Governance Detection'
13174 inputs :
0 commit comments