Skip to content

Commit

Permalink
Use cp for coverage copy (microsoft#11006)
Browse files Browse the repository at this point in the history
* test cp

* mkdir

* maintain directory

* copy with directories
  • Loading branch information
Anthony Dresser authored Jun 19, 2020
1 parent 5168d3d commit a971aee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build/azure-pipelines/linux/sql-product-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ steps:
./build/azure-pipelines/linux/createDrop.sh
displayName: Create Drop
- task: CopyFiles@2
displayName: 'Copy Extension Unit Test Coverage Files to: $(Build.ArtifactStagingDirectory)'
inputs:
SourceFolder: '$(Build.SourcesDirectory)/extensions'
Contents: '*/coverage/**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/test-results/coverage'
- script: |
set -e
shopt -s globstar
mkdir -p $(Build.ArtifactStagingDirectory)/test-results/coverage
cp --parents -r $(Build.SourcesDirectory)/extensions/*/coverage/** $(Build.ArtifactStagingDirectory)/test-results/coverage
displayName: Copy Coverage
- task: PublishTestResults@2
displayName: 'Publish Test Results test-results.xml'
Expand Down

0 comments on commit a971aee

Please sign in to comment.