Skip to content

Commit e424f40

Browse files
authored
add copy task to ensure sql package is available in local-packages folder for tests (#792)
* add copy task for copying sql nupkg * add comment * syntax * only copy nupkg
1 parent e2923c3 commit e424f40

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

builds/azure-pipelines/template-steps-build-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@ steps:
102102
targetFolder: $(azureFunctionsExtensionBundlePath)/bin
103103
overWrite: true
104104

105+
# Copy the Sql nupkg to ensure it's available for tests since the package copy task is failing occasionally so having this redundancy.
106+
- task: CopyFiles@2
107+
displayName: 'Copy local Sql package to local-packages folder'
108+
inputs:
109+
sourceFolder: $(Build.SourcesDirectory)/src/bin/${{ parameters.configuration }}
110+
contents: '*.nupkg'
111+
targetFolder: $(Build.SourcesDirectory)/local-packages
112+
overWrite: true
113+
105114
- script: |
106115
npm install
107116
npm run lint

0 commit comments

Comments
 (0)