Deploy sql package using sql script file in Azure pipelines

Copper Contributor

I want to deploy sql package using script file which is present in  Azure repository. The task available in pipelines are for Windows agent and I am using a linux agent. For a single line query I was using bash task and passing the command " sqlcmd -U -P <dbname> -q"

But I need to pass the path of the sql file from repository as it is made of multiple queries. 
Please help me regarding the same. 

0 Replies