@@ -17,19 +17,37 @@ parameters:
17
17
type : string
18
18
default : $(artifactDirectory)
19
19
20
+ - name : appRegistrationClientId
21
+ type : string
22
+ default : $(appRegistrationClientId)
23
+
24
+ - name : appRegistrationTenantId
25
+ type : string
26
+ default : $(appRegistrationTenantId)
27
+
20
28
steps :
21
29
- ${{ if eq(parameters.artifactType, 'dll') }} :
22
- - task : SFP.build-tasks.custom-build-task-2. EsrpMalwareScanning@4
30
+ - task : EsrpMalwareScanning@5
23
31
displayName : ' ESRP MalwareScanning'
24
32
inputs :
25
- ConnectedServiceName : ' SqlClient ESRP Malware Scanning'
33
+ ConnectedServiceName : ' ESRP Workload Identity federation service-ADO.Net'
34
+ AppRegistrationClientId : ' ${{parameters.appRegistrationClientId }}'
35
+ AppRegistrationTenantId : ' ${{parameters.appRegistrationTenantId }}'
36
+ AuthAKVName : SqlClientDrivers
37
+ AuthCertName : ' ESRP-Release-Auth'
26
38
FolderPath : ' ${{parameters.sourceRoot }}'
27
39
Pattern : ' *.dll'
28
- Region : US
29
- - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
40
+ CleanupTempStorage : 1
41
+ VerboseLogin : 1
42
+ - task : EsrpCodeSigning@5
30
43
displayName : ' ESRP CodeSigning'
31
44
inputs :
32
- ConnectedServiceName : ' SqlClient ESRP Code Signing'
45
+ ConnectedServiceName : ' ESRP Workload Identity federation service-ADO.Net'
46
+ AppRegistrationClientId : ' ${{parameters.appRegistrationClientId }}'
47
+ AppRegistrationTenantId : ' ${{parameters.appRegistrationTenantId }}'
48
+ AuthAKVName : SqlClientDrivers
49
+ AuthCertName : ' ESRP-Release-Auth'
50
+ AuthSignCertName : ' ESRP-Release-Sign2'
33
51
FolderPath : ' ${{parameters.sourceRoot }}'
34
52
Pattern : ' *.dll'
35
53
signConfigType : inlineSignParams
@@ -73,17 +91,28 @@ steps:
73
91
]
74
92
75
93
- ${{ if eq(parameters.artifactType, 'pkg') }} :
76
- - task : SFP.build-tasks.custom-build-task-2. EsrpMalwareScanning@4
94
+ - task : EsrpMalwareScanning@5
77
95
displayName : ' ESRP MalwareScanning Nuget Package'
78
96
inputs :
79
- ConnectedServiceName : ' SqlClient ESRP Malware Scanning'
97
+ ConnectedServiceName : ' ESRP Workload Identity federation service-ADO.Net'
98
+ AppRegistrationClientId : ' ${{parameters.appRegistrationClientId }}'
99
+ AppRegistrationTenantId : ' ${{parameters.appRegistrationTenantId }}'
100
+ AuthAKVName : SqlClientDrivers
101
+ AuthCertName : ' ESRP-Release-Auth'
80
102
FolderPath : ' ${{parameters.artifactDirectory }}'
81
103
Pattern : ' *.*nupkg'
82
- Region : US
83
- - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@4
104
+ CleanupTempStorage : 1
105
+ VerboseLogin : 1
106
+ - task : EsrpCodeSigning@5
84
107
displayName : ' ESRP CodeSigning Nuget Package'
85
108
inputs :
86
- ConnectedServiceName : ' SqlClient ESRP Code Signing'
109
+ inputs :
110
+ ConnectedServiceName : ' ESRP Workload Identity federation service-ADO.Net'
111
+ AppRegistrationClientId : ' ${{parameters.appRegistrationClientId }}'
112
+ AppRegistrationTenantId : ' ${{parameters.appRegistrationTenantId }}'
113
+ AuthAKVName : SqlClientDrivers
114
+ AuthCertName : ' ESRP-Release-Auth'
115
+ AuthSignCertName : ' ESRP-Release-Sign2'
87
116
FolderPath : ' ${{parameters.artifactDirectory }}'
88
117
Pattern : ' *.*nupkg'
89
118
signConfigType : inlineSignParams
0 commit comments