Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: SqlAzureDacpacDeploymentV1 Drift Report output Path is not supported #20659

Open
7 tasks done
JFolberth opened this issue Nov 13, 2024 · 1 comment
Open
7 tasks done

Comments

@JFolberth
Copy link

JFolberth commented Nov 13, 2024

New issue checklist

Task name

SqlAzureDacpacDeployment

Task version

V1

Issue Description

Line 125 has the Output Path hard coded. This makes it impossible to pass in the Output path for the drift report as Powershell will error with Duplicate 'OutputPath' argument. In the meantime it looks like it is written to an ADO variable $SqlDeploymentOutputFile which could be use to copy to a new location.

azure-pipelines-tasks/Tasks/SqlAzureDacpacDeploymentV1
/SqlAzureActions.ps1

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows

Relevant log output

Duplicate 'OutputPath' argument.

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

@JFolberth
Copy link
Author

Adding on this one cannot output multiple files as running a deploy and a drift report causes the files to be overwritten. As a workaround I am creating the deploy report, copy the results to another folder, run the drift report, copy results and then publish the entire folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant