Fix build order in windows-daily build (#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.
This commit is contained in:
Aditya Patwardhan
2019-04-02 14:25:36 -07:00
committed by Travis Plunk
parent 4b5fe2e72b
commit 28ec8ac831
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -5,6 +5,8 @@ parameters:
jobs:
- job: ${{ parameters.jobName }}
dependsOn:
${{ parameters.parentJobs }}
pool:
name: ${{ parameters.pool }}
+2 -2
View File
@@ -68,10 +68,10 @@ jobs:
parentJobs:
- win_build
# we wait for all tests to finish as this phase uploads the daily nuget package to MyGet.
# we want to upload only if tests have passed.
- template: templates/windows-packaging.yml
parameters:
# we wait for all tests to finish as this phase uploads the daily nuget package to MyGet.
# we want to upload only if tests have passed.
parentJobs:
- win_test_UnelevatedPesterTests_CI
- win_test_ElevatedPesterTests_CI