# Jenkins CI

In this article we will show you how to integrate **Telerik JustMock** with **Jenkins-CI**.

## Integrating JustMock within Jenkins CI using Windows Batch Command

Another approach for integrating TelerikJustMock with **Jenkins** is provided by the **Execute Windows batch command** build step in the **Jenkins** job configuration. To see how to execute **JustMock** test DLLs via the **Command Prompt**, refer to [Windows Batch Command](https://www.telerik.com/products/justmock/documentation/integration/windows-batch-command).

Below you will find steps to follow for running JustMock test DLLs in the Jenkins build process:

1. Start by adding **Execute Windows batch command** build step into your configuration.

   ![Jenkins And Team City Jenkins 1](https://www.telerik.com/products/justmock/documentation/assets/f6d50d39b7b035ef7c9fd22d09254c62/jenkinsandteamcity_jenkins1.png)

2. Having this, you are now able to configure it to execute test DLLs via the **cmd.exe** as shown in [Windows Batch Command](https://www.telerik.com/products/justmock/documentation/integration/windows-batch-command).

   ![Jenkins And Team City Jenkins 2](https://www.telerik.com/products/justmock/documentation/assets/40f5475e3e36ccbf8ac3107b7da464cf/jenkinsandteamcity_jenkins2.png)

   You will simply need to pass an appropriate test execution command through the **JustMockRunner.exe**, which will configure the rest of the environment automatically.

   For example:

   ```
   "C:\Program Files (x86)\Telerik\JustMock\Libraries\JustMockRunner.exe" "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\MSTest.exe" /testcontainer:"C:\Program Files (x86)\Telerik\JustMock\Examples\Telerik.JustMock.Tests\bin\Debug\Telerik.JustMock.Tests.dll" 
   ```

## See Also

* [TeamCity](https://www.telerik.com/products/justmock/documentation/integration/continuous-integration/teamcity)

* [Windows Batch Command](https://www.telerik.com/products/justmock/documentation/integration/windows-batch-command)

* [GitHub Actions](https://www.telerik.com/products/justmock/documentation/integration/continuous-integration/github)

* [GitLab CI/CD](https://www.telerik.com/products/justmock/documentation/integration/continuous-integration/gitlab)
