dbForge DevOps Automation for SQL Server is a solution designed for the management and deployment of changes to a SQL Server database. With dbForge DevOps Automation for SQL Server, you can automate the deployment of database changes and build a full-cycle database CI/CD pipeline using any continuous integration or continuous deployment server that supports running PowerShell. To simplify setup, dbForge DevOps Automation includes plugins for Jenkins automation servers.
dbForge DevOps Automation comes as part of the SQL Tools suite and is used in conjunction with dbForge Studio or other dbForge tools, such as Unit Test, Data Generator, Data and Schema Compare. dbForge DevOps Automation allows organizing a comprehensive continuous delivery pipeline for your database.
dbForge DevOps Automation Jenkins Plugin provides all the necessary features to configure Continuous Integration. It allows you to create a database on the server, test it, and deploy.
The guide provides step-by-step procedures to create the Jenkins job using the dbForge DevOps Automation Jenkins Plugin for SQL Server.
After you have installed the plugin, you can create a Continuous Integration job based on it.
To create a job:
1. On the Jenkins main page, click New Item.
2. Enter a project name, select a project type, then click OK.
Note
Freestyle project is displayed as an example of the project type.

3. Configure the job settings in the following sections:
1. Enter the project description.

2. Click Advanced.
3. Select Use custom workspace and under Directory, enter the path to your working folder.
Note
The working directory is expected to include a subfolder containing the scripts directory. It is also assumed that a version control system is configured to pull the latest changes for this subfolder.
Alternatively, retrieving new changes can be configured as a separate job in Jenkins.

Select the automated actions that start your build based on specific events, like code changes or scheduled times.

1. Build a database package.

2. Test the database using tSQLt.

3. Publish a database package.

4. Click Save.
Launch your project and check the results.
1. In the navigation menu on the left, click Build Now.

2. To check the result, under Builds, click the arrow next to the required build number and select Console Output.

You can use the Execute step to:
To create the Execute step, use dbForge DevOps Automation for SQL Server - Execute.
Watch these videos to learn how the dbForge tools can be involved in the Continuous Integration process.