You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the DeployScriptPath and/or DeployReportPath task options, they are not honored during task execution.
See this line in the PublishDacPacTask:
To Reproduce
Run PublishDacPacTask with DeployScriptPath and DeployReportPath populated (not empty). The result will be an actual publish action to the target database rather than creating a deployment script.
Expected behavior
When DeployScriptPath is not an empty string, a publish script should be created, the database should NOT be updated.
Screenshots
Azure DevOps Agent
Self-Hosted Agent: Version 2.144.2
The text was updated successfully, but these errors were encountered:
Component
Describe the bug
When using the DeployScriptPath and/or DeployReportPath task options, they are not honored during task execution.
See this line in the PublishDacPacTask:
AzureDevOpsExtensionsForSqlServer/extensions/PublishDacPac/PublishDacPacTask/PublishDacPacTask.ps1
Line 91 in 83c6e88
Variable: $DeployScriptPath or $DeployReportPath is never assigned at the beginning of the task where all the task inputs are collected, starting at:
AzureDevOpsExtensionsForSqlServer/extensions/PublishDacPac/PublishDacPacTask/PublishDacPacTask.ps1
Line 24 in 83c6e88
To Reproduce
Run PublishDacPacTask with DeployScriptPath and DeployReportPath populated (not empty). The result will be an actual publish action to the target database rather than creating a deployment script.
Expected behavior
When DeployScriptPath is not an empty string, a publish script should be created, the database should NOT be updated.
Screenshots
Azure DevOps Agent
Self-Hosted Agent: Version 2.144.2
The text was updated successfully, but these errors were encountered: