Skip to content

Commit ae1cef7

Browse files
committed
PR improvements
1 parent de7d87f commit ae1cef7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/tools/sqlpackage/sqlpackage-pipelines.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ Adding the `/DiagnosticsFile` parameter to the "Additional SqlPackage.exe Argume
6666
deployType: 'DacpacTask'
6767
DeploymentAction: 'Publish'
6868
DacpacFile: '$(Build.Repository.LocalPath)\$(dacpacname).dacpac'
69-
AdditionalArguments: '/DiagnosticsFile:$(System.DefaultWorkingDirectory)/output.txt'
69+
AdditionalArguments: '/DiagnosticsFile:$(System.DefaultWorkingDirectory)/output.log'
7070
IpDetectionMethod: 'AutoDetect'
7171
7272
- task: PublishPipelineArtifact@1
7373
inputs:
74-
targetPath: '$(System.DefaultWorkingDirectory)/output.txt'
74+
targetPath: '$(System.DefaultWorkingDirectory)/output.log'
7575
artifact: 'Diagnostic File'
7676
publishLocation: 'pipeline'
7777
```
@@ -91,13 +91,13 @@ Adding the `/DiagnosticsFile` parameter to the "arguments" field in the GitHub A
9191
connection-string: ${{ secrets.AZURE_SQL_CONNECTION_STRING }}
9292
# Path to DACPAC file to deploy
9393
dacpac-package: .\DatabaseProjectAdventureWorksLT\bin\Release\DatabaseProjectAdventureWorksLT.dacpac
94-
# additional SqlPackage.exe arguments, leave all existing indexes in place
95-
arguments: /DiagnosticsFile:DatabaseProjectAdventureWorksLT/DiagnosticLog.txt
94+
# additional SqlPackage.exe arguments
95+
arguments: /DiagnosticsFile:DatabaseProjectAdventureWorksLT/DiagnosticLog.log
9696
9797
- uses: actions/upload-artifact@v2
9898
with:
9999
name: 'DiagnosticLog.txt'
100-
path: 'DatabaseProjectAdventureWorksLT/DiagnosticLog.txt'
100+
path: 'DatabaseProjectAdventureWorksLT/DiagnosticLog.log'
101101
```
102102

103103
## Update SqlPackage on the pipeline agent

0 commit comments

Comments
 (0)