Skip to content

Commit

Permalink
Unlink dependencies if tests fail (#6483)
Browse files Browse the repository at this point in the history
- Results are published for both success and failure
- Unlink dependencies should use the same condition as publish
- Continuation of #6418
  • Loading branch information
mikeharder authored Dec 10, 2019
1 parent bccb886 commit a46af7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ jobs:
# which need to walk the directory tree (and are hardcoded to follow symlinks).
- script: |
node eng/tools/rush-runner.js unlink
condition: succeededOrFailed()
displayName: "Unlink dependencies"
# It's important for performance to pass "sdk" as "searchFolder" to avoid looking under root "node_modules".
Expand Down
1 change: 1 addition & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ jobs:
# which need to walk the directory tree (and are hardcoded to follow symlinks).
- script: |
node eng/tools/rush-runner.js unlink
condition: succeededOrFailed()
displayName: "Unlink dependencies"
# It's important for performance to pass "sdk" as "searchFolder" to avoid looking under root "node_modules".
Expand Down

0 comments on commit a46af7a

Please sign in to comment.