Skip to content

Commit

Permalink
[Ci] Fix collect log error in azp template (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
xumia authored Jun 28, 2023
1 parent d6453bc commit dffd76a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ jobs:
condition: always()

- script: |
cp -r sonic-swss/tests/log $(Build.ArtifactStagingDirectory)/
if [ -d sonic-swss/tests/log ]; then
cp -r sonic-swss/tests/log $(Build.ArtifactStagingDirectory)/
fi
displayName: "Collect logs"
condition: always()
Expand Down

0 comments on commit dffd76a

Please sign in to comment.