Skip to content

Commit 28ec8ac

Browse files
adityapatwardhanTravisEz13
authored andcommitted
Fix build order in windows-daily build (PowerShell#9275)
The windows-daily build had a bug which caused the packaging builds to be kicked off before tests. This PR fixes the build order. ## PR Context Fix for failing daily build.
1 parent 4b5fe2e commit 28ec8ac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.vsts-ci/templates/windows-packaging.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ parameters:
55

66
jobs:
77
- job: ${{ parameters.jobName }}
8+
dependsOn:
9+
${{ parameters.parentJobs }}
810
pool:
911
name: ${{ parameters.pool }}
1012

.vsts-ci/windows-daily.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ jobs:
6868
parentJobs:
6969
- win_build
7070

71+
# we wait for all tests to finish as this phase uploads the daily nuget package to MyGet.
72+
# we want to upload only if tests have passed.
7173
- template: templates/windows-packaging.yml
7274
parameters:
73-
# we wait for all tests to finish as this phase uploads the daily nuget package to MyGet.
74-
# we want to upload only if tests have passed.
7575
parentJobs:
7676
- win_test_UnelevatedPesterTests_CI
7777
- win_test_ElevatedPesterTests_CI

0 commit comments

Comments
 (0)