Skip to content

Commit 6ee2961

Browse files
committed
Work CI-CD
- Add conditional delay of 10 minutes before updating the dependents to allow nuget package to be processed. ***NO_CI***
1 parent a2d7619 commit 6ee2961

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,16 @@ jobs:
350350
- checkout: self
351351
fetchDepth: 1
352352

353+
# Conditional delay step
354+
- powershell: |
355+
if ($env:BUILD_MDP_RESULT -eq 'Succeeded') {
356+
Write-Host "Build_MDP succeeded, waiting for 10 minutes for the NuGet package to be processed before starting the job..."
357+
Start-Sleep -Seconds 600
358+
}
359+
displayName: 'Waiting for NuGet being published'
360+
env:
361+
BUILD_MDP_RESULT: $(Build.MDP.result)
362+
353363
- template: azure-pipelines-templates/install-nuget.yml@templates
354364

355365
# update dependencies

0 commit comments

Comments
 (0)