Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

In this Cypress Jenkins tutorial, learn how to integrate your Cypress test suites with the Jenkins pipeline.
Enrique
January 30, 2026
Cypress is a JavaScript-based framework for performing end-to-end testing of websites. When performing Cypress testing, you will probably come across the need to integrate your Cypress tests with CI/CD tools like Jenkins to automate your build and deployment process.
Integrating Cypress with Jenkins pipelines lets developers and testers streamline their testing process, where tests are run automatically on every code commit, providing quick feedback to developers and helping catch bugs early in the development process.
In this Cypress Jenkins tutorial, we will dive deep into integrating Cypress tests with the Jenkins pipeline.
Cypress is a JavaScript-based end-to-end testing framework that enables developers to automate web application testing efficiently. Integrating Cypress with Jenkins, lets teams automate test execution, streamline feedback loops, and accelerate release cycles.
Why Should You Use Cypress With Jenkins?
Using Cypress with Jenkins helps unify test automation within a CI/CD pipeline, ensuring every code commit triggers automated tests for faster feedback and improved quality.
Cypress’s native JavaScript support, combined with Jenkins’s flexible plugin ecosystem and distributed builds, makes it ideal for continuous testing setups without extra dependencies or complex configurations.
How Do You Configure Jenkins to Run Cypress Tests?
To configure Jenkins with Cypress:
npm i), runs tests (npm run cypress:ci), and handles deployments.How Can You Integrate Cypress Jenkins Pipelines With a Cloud Grid?
Integrating Jenkins with a Cypress Cloud Grid like TestMu AI enhances scalability and parallel testing.
npm install lambdatest-cypress-cli) and run tests via npm run cypress:lambda.How Do You Perform Cypress Parallel Testing on the Cloud?
Parallel testing on TestMu AI speeds up execution by running multiple Cypress tests simultaneously across 50+ browsers and operating systems. Steps include:
npm install -g lambdatest-cypress-cli.lambdatest-cypress init.lambdatest-config.json.Jenkins is an open-source automation server to streamline the continuous testing process, particularly in the areas of Continuous Integration and Continuous Delivery (CI/CD).
Here are some of the benefits of using Jenkins:
If you are new to Jenkins and wish to learn more about it, you can go through this Jenkins tutorial:
Subscribe to the TestMu AI YouTube Channel and stay updated with the latest tutorials around automation testing, CI/CD, and more.
In the next section of this Cypress Jenkins tutorial, we will look into why Cypress Jenkins is the right option for your team.
Cypress is an open-source framework for end-to-end testing and is usually preferred by developers and testers with expertise in JavaScript. Also, testers don’t need to install additional libraries, dependencies, drivers, servers, etc., as they do in the case of Selenium.
As mentioned above, Jenkins offers a plugin ecosystem and easy configuration with Jenkins. If you are looking for an open-source CI/CD tool that is easy to configure with Cypress, then Jenkins is the right option for your team.
Before configuring Cypress with Jenkins, you need to install Cypress first. You can go through this blog on getting started with Cypress to install Cypress. In this section of the Cypress Jenkins tutorial, we will learn how to configure Jenkins to run Cypress tests.
Let’s look at the steps to install the NodeJS plugin using Jenkins.


Now, we need to create a Cypress Jenkins project. For this, let’s use a freestyle project to help break down the build job into several smaller steps, making managing builds in separate stages more comfortable.
For example, a build might run a suite of functional tests in one step and then tag the build in a second step if all tests are passed.
A Jenkins freestyle project can be as powerful and complicated as any build job built with a Jenkins pipeline or a Groovy DSL. However, it’s necessary to know how to script all these actions, and testers must learn how to manage these scripts.
Below are the steps to create the Jenkins freestyle project:



If you remember, we added a NodeJS installation before. We will see the name we provided in the NodeJS Installation dropdown. Select that name, and keep the other configurations the same.
We are all set; don’t forget to add our Cypress command to execute the script.
A pipeline is a series of events or tasks interconnected in a particular order. In plain English, a Jenkins pipeline is a set of modules or plugins that enable the implementation and integration of Continuous Delivery pipelines within Jenkins.
The Jenkins pipeline has a scalable automation system for building basic or complex template distribution pipelines via the Domain-Specific Language (DSL) used in the pipeline.
For example, stages in the Jenkins declarative pipeline may have a stages section containing a list of nested stages to be run in sequential order.
The concepts in Jenkins pipelines are as follows:
The main advantages of the Jenkins pipeline are automating various tasks and making the CI/CD pipeline tasks reliable, efficient, and repeatable.
Here is the Jenkins file for the pipeline:
pipeline {
agent any
tools {nodejs "Node"}
environment {
CHROME_BIN = '/bin/google-chrome'
}
stages {
stage('Dependencies') {
steps {
sh 'npm i'
}
}
stage('e2e Tests') {
Parallel{
stage('Test 1') {
steps {
sh 'npm run cypress:ci'
}
}
stage('Test 2') {
steps {
sh 'npm run cypress2:ci'
}
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}
Below are the steps to create the project for the pipeline:




So far, we have seen how to configure the Jenkins pipeline. However, while performing testing using Cypress with Jenkins, developers, and testers might face challenges such as managing diverse browser and device combinations, ensuring efficient test execution across various environments, and handling the setup and maintenance of infrastructure for parallel testing.
To overcome this, integrating Jenkins with the Cypress Cloud Grid like TestMu AI is a viable option. It addresses these challenges by providing scalable testing infrastructure, streamlined test execution, and comprehensive cross browser testing capabilities.
In this section of the Cypress Jenkins tutorial, we will integrate the Jenkins pipeline with the Cypress Cloud Grid like TestMu AI.
TestMu AI is an AI-powered test orchestration and execution platform enabling developers and testers to perform Cypress testing at scale on a remote test lab of real browsers like Chrome, Firefox, Edge, and WebKit. It offers a Jenkins plugin allowing testers to run Cypress tests through the Jenkins pipeline.
Below are the steps to configure TestMu AI with the Jenkins pipeline:
Here is the Jenkins file for the pipeline:
pipeline {
agent any
tools {nodejs "Node"}
stages {
stage('Dependencies') {
steps {
sh 'npm i'
sh 'npm install lambdatest-cypress-cli'
}
}
stage('e2e Tests') {
steps {
sh 'npm run cypress:lambda'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}

Below are the steps to create the Jenkins Freestyle project:




When checking the console output of the build, we can verify that the Cypress tests ran.

As we can notice from the above snapshot, our build was successfully executed, and the tests were uploaded to our TestMu AI Web Automation Dashboard.

In the next section of this Cypress Jenkins tutorial, we will learn how to perform Cypress parallel testing on the cloud.
TestMu AI platform lets you perform Cypress parallel testing across 50+ browsers to expedite the test execution through the Jenkins pipeline. In addition, it helps improve overall test coverage and ensure the quality of software builds.
To get started with Cypress e2e testing, follow the below-mentioned steps:
npm install -g lambdatest-cypress-cli
lambdatest-cypress init
"lambdatest_auth": {
"username": "<Your LambdaTest username>",
"access_key": "<Your LambdaTest access key>"
{
"lambdatest_auth": {
"username": "",
"access_key": ""
},
"browsers": [
{
"browser": "MicrosoftEdge",
"platform": "Windows 10",
"versions": [
"latest"
]
},
{
"browser": "Chrome",
"platform": "Windows 10",
"versions": [
"latest"
]
},
{
"browser": "Firefox",
"platform": "Windows 10",
"versions": [
"latest"
]
}
],
"run_settings": {
"build_name": "build-Cypress-test",
"parallels": 5,
"specs": "./cypress/integration/e2e_tests/*.spec.js",
"pluginsFile": true,
"ignore_files": "",
"npm_dependencies": {
"cypress": "13"
},
"feature_file_suppport": true
},
"tunnel_settings": {
"tunnel": false,
"tunnelName": null
}
Using TestMu AI, you can run Cypress tests in parallel and reduce execution time. Instead of running tests one by one in sequence, parallel testing allows for running multiple tests simultaneously. In addition, this approach executes tests on various browsers, devices, and operating systems parallelly.
Without Cypress Cloud Grid (Compare e2e tests timing):

With Cypress Cloud Grid (Compare e2e tests timing):

Note: Run your Cypress tests across 50+ browsers. Try TestMu AI Today!
In this Cypress Jenkins tutorial, we have covered the importance of using Jenkins and how it can be integrated with Cypress projects to run automated tests on the cloud grid like TestMu AI to achieve the goal of Continuous Integration.
Using Jenkins to run tests is time-effective, and the results can be visualized with complete logs. It helps fulfill the entire Software Development Life Cycle (SDLC), from development, testing, monitoring, and deployment.
Thanks for reading through this Cypress Jenkins tutorial.
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance