Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to deploy SQL Database (and changes) in Bitbucket pipeline to Azure


Asking for an opinion or direction on the current problem.

We are using bitbucket pipeline to deploy ci/cd web applications to Azure. Now what is remaining - the database, also being hosted on Azure.

From my research - everything on SQL Database Projects deployments usually utilizes Azure DevOps pipelines (connects to github repo, allows plural environments, has a built-in SqlAgent allows deploy SQL db to the target server via dacpac file. It allows CI with every check-in, every time you push changes. Nice!

But what if can not (for some reason) use Azure DevOps and have to utilize Bitbucket pipelines instead. To push schema updates? changes? from SQL Database Solution/Project?

is that possible? how? via scripting? a tool? to call in the command line? powershell / Invoke-Sqlcmd but not sure if this is possible or manageable?


Any help - highly appreciated.

1 answer

1 accepted

0 votes
Answer accepted

We end up using DB UP as solution to push through pipeline and deploy SQL changes. It tracks which SQL scripts have been run already, and runs the change scripts that are needed to get your database up to date.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

495 views 16 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you