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

Bamboo server is one of the popular CI tools primarily used for the automation of release management of a software application. Learn how you can make the most of the Bamboo pipeline for expediting the build, test, and release phases of PHP projects.

Ritesh Shetty
December 28, 2025
Accurate automation testing and seamless product delivery are the two major factors that can help build an exceptional product experience. This principle applies to a range of software products like websites, mobile applications, web applications, and more.
Bamboo is Atlassian’s CI/CD automation server that helps teams build, test, and deploy applications faster. It connects seamlessly with tools like Bitbucket, Jira, and TestMu AI, enabling an end-to-end continuous integration and delivery process. Bamboo allows developers to automate repetitive tasks, run parallel builds, and manage deployment workflows with ease.
How to Set Up a CI/CD Pipeline in Bamboo
Follow these steps to set up your CI/CD pipeline in Bamboo:
Why Use Bamboo for CI/CD
Bamboo offers several advantages for automating your software delivery pipeline:
Every software developer wants the code to be well-tested and well-delivered to the end-user. Though this sounds complex, the process can become easier when automation takes over. That’s where Pipelines come into the play. The build & deployment pipelines help in the implementation of the automation process.

It governs all the activities, right from version control to providing applications into the hands of the end-users. This is achieved via prominent CI/CD tools like Jenkins, Circle CI, GitLab CI, etc. The combination of CI/CD with Bamboo, GitLab, and TestMu AI helps in making the most out of DevOps and Selenium test automation.
CI/CD with Bamboo helps in building CI/CD pipelines, especially when the application involves cross connectivity with different APIs and various third-party applications. This also provides immunity to the risk of a failed production deployment. Gitlab helps in version controlling the code, whereas CI/CD with Bamboo helps to pipeline the source code for different types of testing (i.e. cross-browser testing, white-box testing, unit testing, etc.). The best part is that the advantages offered by CI/CD with Bamboo are independent of the development language. CI/CD with Bamboo is used for PHP projects for ensuring that the code going into the production pipeline is of high quality.
Till now, we touched upon the importance of pipelines in the automated process of building software applications and deploying them to the target production environment. With the stage all set, let’s look at how to set up the CI/CD pipeline with Bamboo for the PHP project.
In case you are curious to know how Bamboo stacks up against other CI/CD tools, make sure to check out the Comparison of top CI/CD tools in the TestMu AI Learning Hub. If you are preparing for an interview you can learn more through CI/CD Interview Questions.
Bamboo is a popular Continuous Integration (CI) tool developed by Atlassian in 2007. Bamboo is a commercial product that lets you perform automated builds, tests, and releases. All of this in a single workflow!
Read – Jenkins vs Bamboo: Showdown of CI/CD tools
Before proceeding with the Bamboo CI/CD pipeline for PHP projects, you need to ensure that prerequisites for Bamboo are met. Here the prerequisites for installing and configuring Bamboo on the requisite (i.e. Windows/Ubuntu) server.
For the demonstration of Bamboo integration with LambaTest integration, we will use the repository with Javascript project and Protractor tests. The link to the repository is https://github.com/TestMu AI/protractor-selenium-sample-gitlab.git
Atlassian Bamboo can only run with the JDK(JAVA Development Kit). Thus, a supported version of Java is required. JAVA_HOME is a system environment variable that provides the path to Java’s home directory. If a path is not returned you’ll need to set the JAVA_HOME environment variable manually before installing Bamboo.
Now that we have covered the prerequisites for CI/CD with Bamboo, let’s look at the essentials of the Bamboo pipeline. The Bamboo pipeline lets you build and run unit & integration tests by integrating the source code.
Bamboo Pipeline also provides reliable, secure, and well-managed benefits over other tools like Jenkins. Some of the prominent advantages of using a Bamboo pipeline for PHP projects are below:
Bamboo pipeline fetches the code from the relevant repository, triggers a build, and integrates the tests. This pipeline makes the whole process automated and triggers as soon as a developer commits code. This is one of the major advantages of using CI/CD with Bamboo or in general using CI/CD along with automation testing.
If you are a PHP expert, you can acquire a benchmark industry certification specializing in core PHP programming skills and expand your opportunities to advance your career in PHP automation testing.

Now that we have covered the advantages of CI/CD with Bamboo, let’s look at how to run Bamboo for continuous testing:
Follow the below-mentioned steps for installing Bamboo on Windows:




http://localhost:8085/ in the address bar.http://localhost:8085/ for the first time, you will be redirected to the setup wizard page




With the completion of Bamboo CI/CD installation, we are all set to perform Selenium test automation with PHP using Bamboo CI/CD. Here the major steps for using CI CD with Bamboo and Selenium PHP on a cloud-based Selenium Grid:
Cloud-based Selenium Grid specializes in running serial (and parallel) tests across multiple browsers, operating systems, and devices. TestMu AI provides a cloud-based Selenium Grid that lets you perform Selenium test automation on 2000+ different browsers and operating systems online. Check out our detailed tutorial on cloud testing to get an in-depth understanding of the benefits of cloud-based Selenium Grid.
Read – What is Parallel Testing and why is it important?
We will be using Bamboo CI/CD for the PHP project, with the execution on TestMu AI’s cloud-based Selenium Grid. Here are the steps for integrating the Bamboo pipeline with TestMu AI Grid:
1. Check for the installation of Bamboo, PHP, PHPUnit, and Composer with Selenium dependencies.
2. Once the setup is installed, we will check out the sample code in a Github repository. The code in the repository is a simple PHP and Selenium web automation script that searches for TestMu AI on Google.
<?php
require_once('vendor/autoload.php');
use FacebookWebDriverRemoteRemoteWebDriver;
use FacebookWebDriverWebDriverBy;
use PHPUnitFrameworkAssert;
/*
LambdaTest selenium automation sample example
Configuration
----------
username: Username can be found at automation dashboard
accessToken: AccessToken can be generated from automation dashboard or profile section
Result
-------
Execute PHP Automation Tests on LambdaTest Distributed Selenium Grid
*/
# username: Username can be found at automation dashboard
$LT_USERNAME = getenv("LT_USERNAME");
# accessKey: AccessKey can be generated from automation dashboard or profile section
$LT_ACCESS_KEY = getenv("LT_ACCESS_KEY");
$host= "http://". $LT_USERNAME .":" . $LT_ACCESS_KEY ."@hub.lambdatest.com/wd/hub";
$result="passed";
$capabilities = array(
"build" => "Sample PHP Build",
"name" => "Sample PHP Test",
"platform" => "Windows 10",
"browserName" => "Chrome",
"version" => "88.0"
);
try{
$driver = RemoteWebDriver::create($host, $capabilities);
$driver->get("https://www.google.com/ncr");
$element = $driver->findElement(WebDriverBy::name("q"));
if($element)
{
$element->sendKeys("LambdaTest");
$element->submit();
Assert::assertEquals($driver->getTitle(),'LambdaTest - Google Search');
}
} catch(Exception $e) {
$result="failed";
print "Test failed with reason ".$e->getMessage();
}
finally{
// finally quit the driver
$driver->executeScript("lambda-status=".($result == "passed" ? "passed":"failed"));
$driver->quit();
}
?>
3. With the completion of the basic requisites for Bamboo CI/CD with PHP project, let’s log in to the Bamboo dashboard. Click on the Create your first build plan to construct a new Bamboo project.

4. Enter the Bamboo project name as ‘Selenium grid integration’ and plan its name as ‘running automation tests’. The next step is to link the GitHub repository containing the source code and tests.
5. For linking the repo, click on Link new repository besides Repository host and from the dropdown ‘Select repository host’. Select Git as the preferred version control system.

6. Enter the Git repo name (in this case it’s TestMu AI PHP) below the dropdown and then provide the repo URL beneath the Git details. If the repository is private, you would need either Username & Password or SSH Keys to authorize the repository.

7. For public repositories, simply provide the URL

8. Use Test Connection to see if Bamboo is able to perform Source code Checkout appropriately or not. After clicking on Test Connection, you should get ‘green tick’ with indicating ‘Connection successful’.

9. Click on the Configure Plan button. With this, the Bamboo CI/CD for PHP project is ready for use! A new page will appear to configure more tasks ahead.

10. The first task is ‘Source Code Checkout’ which is built by default as we connect the Git repository to the Bamboo project. You can add more tasks by clicking on ‘Add task’. The build plan will run on the agent environment but you can always provide the Docker image after selecting ‘Run this job in’ as ‘Docker container’. Check out our detailed blog on how to run Selenium tests with Docker.
11. Click on ‘Add task’ to create a task for running Selenium web automation tests on the TestMu AI Grid via PHPUnit. Select ‘test’ from the left menu of the popup box and choose PHPUnit.

12. A new dialog box opens up in the right column of the page. Here, you will provide the required Task description, executable, arguments, environment variables etc. The details are given below.

13. If the executable has nothing in the dropdown, you need to specify the address of the PHPUnit executable installed on your machine. Click on ‘Add new executable’ and a new popup dialog box appears. Here, provide the ‘Executable label’ as ‘PHPUnit’ and set the path as ‘C:\PHP7\vendor\bin\phpunit’( i.e. path where PHPUnit is installed). Select Add.
14. In this demo of Bamboo CI/CD for PHP projects, we run the tests implemented in lambdatest.php on the TestMu AI Grid. Provide lamdatest.php in arguments and click on Save. This will add a new task successfully.

15. Click on the ‘Save and continue’ button, to save the plan configuration. A new page will open with all the plan details and configuration.

16. Click on the Default plan configuration and below the Plan details tab, check the Plan enabled checkbox. Click on Save to save the plan configuration.

17. Now, to run the plan and two tasks sequentially, just click on the Run > Run Plan button on the topmost right side of the page.

18. This will initiate the job and logs will be reflected under the logs tab.
With TestMu AI integration with Bamboo CI/CD, you can perform cross-browser testing 2000+ browsers and operating systems online. The tests could be performed directly from the Bamboo server (e.g. browser compatibility testing can be performed as soon as the changes are committed to the build). Integration of TestMu AI with Bamboo CI/CD server can help in reducing release cycles and shipping the product faster.
Here are the steps for integrating TestMu AI with Bamboo CI/CD:


Task description: Install required Package
Node.js executable: <Add the path to the location, where Node.js is installed in your computer>
Command: install
Advanced Options : tick on the ‘Use isolated cache’ Checkbox

Read – Cross Browser Testing with Protractor and Selenium
You can install Protractor via npm install command:
npm install -g protractor
You can also create a configuration file known as conf.js, for the local machine. The code to be put in conf.js is:
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
spec: ‘single.js’
};
To configure the protractor test for TestMu AI, you would need to use the below script:
echo "start testing"
//Add access credentials in plan variable
set LT_USERNAME=<Your_LambdaTest_Username>
set LT_ACCESS_KEY=<Your_LambdaTest_Access_Key>
wget https://downloads.lambdatest.com/tunnel/v3/windows/64bit/LT_Windows.zip
unzip -o LT_Windows.zip
//To start Tunnel
LT --user %bamboo.LT_USERNAME% --key %bamboo.LT_ACCESS_KEY%
node node_modules/protractor/bin/protractor single.conf.js
To configure the Tunnel in your local machine, login to your TestMu AI account. The Dashboard will appear, click on Automation from the left-side column on the dashboard. On the topmost right side, you will find a button named ‘Configure Tunnel’.
On click, you will find the WinrarZIP Archive with a binary file. Extract this zip to a new folder, and execute the command given above to start the Tunnel after navigating to that folder.
LT --user %bamboo.LT_USERNAME% --key %bamboo.LT_ACCESS_KEY%
Task description : Run Protractor Tests
Interpreter : Shell
Script location : Inline
Script body : (This consist of script given above)




You can also run multiple tests in parallel, which is the most demanding feature of the Selenium Grid. To run tests in parallel on TestMu AI, change the script body specified in the last step:
echo "start testing"
set LT_USERNAME=<Your_LambdaTest_Username>
set LT_ACCESS_KEY=<Your_LambdaTest_Access_Key>
node node_modules/protractor/bin/protractor parallel.conf.js
On the top right corner of TestMu AI Dashboard, you will see a Tunnel Active option, click on the same to monitor the test status.


Kudos! Now, you know how to work with the most popular Continuous Integration Server – Bamboo CI/CD. You have also seen how it makes testing super easy and integrates perfectly with cloud based Selenium Grid like TestMu AI. Bamboo CI/CD can be used with PHP projects to run Selenium automation tests as scale.
CI/CD with Bamboo helps enterprises utilize the power of automation via cloud-based Selenium Grid. Though we demonstrated CI/CD with Bamboo for the PHP project, the popular CI tool is usable with projects spanning other popular programming languages.
Be sure to check the best CI/CD tools that help you build, test, and deploy at an accelerated pace. That’s all folks. I hope this tutorial would be a knowledge – packed bundle for all of you. If you find this useful, share it with your friends and on social media platforms too.
Happy Testing !!
Did you find this page helpful?
More Related Hubs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance