@@ -99,16 +99,22 @@ extends:
99
99
arguments : ' --configuration $(BuildConfiguration) --verbosity normal --no-build'
100
100
- task : PowerShell@2
101
101
displayName : ' Validate updated version'
102
+ condition : and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
102
103
inputs :
103
104
targetType : filePath
104
105
filePath : ' $(Build.SourcesDirectory)\scripts\ValidateUpdatedNugetVersion.ps1'
105
106
arguments : ' -packageName "Microsoft.Graph" -projectPath "$(Build.SourcesDirectory)\src\Microsoft.Graph\Microsoft.Graph.csproj"'
106
107
pwsh : true
107
108
enabled : true
108
- - task : EsrpCodeSigning@3
109
+ - task : EsrpCodeSigning@5
109
110
displayName : ' ESRP DLL Strong Name (Microsoft.Graph)'
110
111
inputs :
111
- ConnectedServiceName : ' microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
112
+ ConnectedServiceName : ' Federated DevX ESRP Managed Identity Connection'
113
+ AppRegistrationClientId : ' 65035b7f-7357-4f29-bf25-c5ee5c3949f8'
114
+ AppRegistrationTenantId : ' cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
115
+ AuthAKVName : ' akv-prod-eastus'
116
+ AuthCertName : ' ReferenceLibraryPrivateCert'
117
+ AuthSignCertName : ' ReferencePackagePublisherCertificate'
112
118
FolderPath : src/Microsoft.Graph/bin/release
113
119
Pattern : Microsoft.Graph.dll
114
120
signConfigType : inlineSignParams
@@ -130,10 +136,18 @@ extends:
130
136
}
131
137
]
132
138
SessionTimeout : 20
133
- - task : EsrpCodeSigning@3
139
+ MaxConcurrency : 50
140
+ MaxRetryAttempts : 5
141
+ PendingAnalysisWaitTimeoutMinutes : 5
142
+ - task : EsrpCodeSigning@5
134
143
displayName : ' ESRP DLL CodeSigning (Microsoft.Graph)'
135
144
inputs :
136
- ConnectedServiceName : ' microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
145
+ ConnectedServiceName : ' Federated DevX ESRP Managed Identity Connection'
146
+ AppRegistrationClientId : ' 65035b7f-7357-4f29-bf25-c5ee5c3949f8'
147
+ AppRegistrationTenantId : ' cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
148
+ AuthAKVName : ' akv-prod-eastus'
149
+ AuthCertName : ' ReferenceLibraryPrivateCert'
150
+ AuthSignCertName : ' ReferencePackagePublisherCertificate'
137
151
FolderPath : src/Microsoft.Graph/bin/release
138
152
Pattern : Microsoft.Graph.dll
139
153
signConfigType : inlineSignParams
@@ -176,15 +190,23 @@ extends:
176
190
}
177
191
]
178
192
SessionTimeout : 20
193
+ MaxConcurrency : 50
194
+ MaxRetryAttempts : 5
195
+ PendingAnalysisWaitTimeoutMinutes : 5
179
196
- powershell : |
180
197
dotnet pack $env:BUILD_SOURCESDIRECTORY/src/Microsoft.Graph/Microsoft.Graph.csproj /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg --no-build --output $env:BUILD_ARTIFACTSTAGINGDIRECTORY --configuration $env:BUILD_CONFIGURATION
181
198
env:
182
199
BUILD_CONFIGURATION: $(BuildConfiguration)
183
200
displayName: dotnet pack
184
- - task : EsrpCodeSigning@3
201
+ - task : EsrpCodeSigning@5
185
202
displayName : ' ESRP NuGet CodeSigning'
186
203
inputs :
187
- ConnectedServiceName : ' microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
204
+ ConnectedServiceName : ' Federated DevX ESRP Managed Identity Connection'
205
+ AppRegistrationClientId : ' 65035b7f-7357-4f29-bf25-c5ee5c3949f8'
206
+ AppRegistrationTenantId : ' cdc5aeea-15c5-4db6-b079-fcadd2505dc2'
207
+ AuthAKVName : ' akv-prod-eastus'
208
+ AuthCertName : ' ReferenceLibraryPrivateCert'
209
+ AuthSignCertName : ' ReferencePackagePublisherCertificate'
188
210
FolderPath : ' $(Build.ArtifactStagingDirectory)'
189
211
Pattern : ' *nupkg'
190
212
signConfigType : inlineSignParams
@@ -206,6 +228,9 @@ extends:
206
228
}
207
229
]
208
230
SessionTimeout : 20
231
+ MaxConcurrency : 50
232
+ MaxRetryAttempts : 5
233
+ PendingAnalysisWaitTimeoutMinutes : 5
209
234
- task : CopyFiles@2
210
235
displayName : ' Copy release scripts to artifact staging directory'
211
236
inputs :
0 commit comments