id | title | hide_title | sidebar_label | description | keywords | url | site_name | slug | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bamboo-integration-with-hyperexecute |
Bamboo CI |
true |
Bamboo CI |
LambdaTest now integrates with Bamboo CI Pipeline to boost your go-to market delivery. Perform automated cross browser testing with LambdaTest to ensure your development code renders seamlessly through an online Selenium grid providing 3000+ real browsers running through machines. |
|
LambdaTest |
bamboo-integration-with-hyperexecute/ |
Bamboo is a continuous integration (CI) and continuous delivery (CD) server from Atlassian. It helps teams automate the software development and delivery process, from code commit to production deployment. Bamboo can be used to build, test, and deploy software on a variety of platforms, including cloud, on-premises, and hybrid environments.
This document will show you how to integrate Bamboo CI Pipeline with HyperExecute to greatly shorten your test cycles.
To integrate CircleCI Pipeline with HyperExecute, follow the below steps:
You can refer to different supported versions from here as per your requirements.
Below are the mentioned softwares used for this documentation:
- Java 11
- DataBase - PostgreSQL 14.9
- Operating System - Linux Ubuntu 22.04 LTS
-
Download the Bamboo CI in your device.
-
Extract the file in your desired location. Let's say it as ROOT_FOLDER
-
Before you run Bamboo for the first time, specify your Bamboo Home Directory, where your Bamboo data is stored.
- Create your Bamboo Home Directory (without spaces in the name).
NOTE: You should not create your Bamboo Home Directory inside the ROOT_FOLDER. They should be entirely separate locations. If you do put the Home Directory in the ROOT_FOLDER, it will be overwritten and lost when Bamboo is upgraded.
- Go to the following file location
ROOT_FOLDER/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties
- You have to uncomment the bamboo.home line and provide the absolute path to your Home Directory.
- Change to the ROOT_FOLDER from the command-line and start the server
cd ROOT_FOLDER
./bin/start-bamboo.sh
- Now type http://localhost:8085/ in your browser to open the Bamboo GUI.
NOTE: If you are running Bamboo for the very first time, then you need to configure the Setup Wizard as well. Follow the instructions here to configure it.
- Click on Create Project button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/1.png').default} alt="Image" className="doc_img"/>
-
Enter the required details for your project:
- Enter your Project Name
- Provide a Project Key
- Give a brief description of your project.
- You can choose whether to provide access to this project to everyone or not.
- Click on Save button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/2.png').default} alt="Image" className="doc_img"/>
- Now click on Create Plan button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/3.png').default} alt="Image" className="doc_img"/>
- Select your required Project.
- Enter a Plan Name
- Enter your Project Key (it should be same as the one you entered in the above step).
- Click on Create button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/4.png').default} alt="Image" className="doc_img"/>
- Select the Repository Host. In this case, we are using Git to manage the source code.
- Enter the Display Name.
- Provide the Repository URL.
- Select the Authentication Type of your choice. We are selecting "Username and Password"
- Enter the Username and Password.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/5.png').default} alt="Image" className="doc_img"/>
- Enter the desired Branch name.
- Click on Test Connection button to check whether the connection is successfully established or not.
- Define who can access to this repository.
- Click on Save and Continue button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/6.png').default} alt="Image" className="doc_img"/>
- Select the environment where do you want to execute this job. For the demo purpose, we are using Agent Environment.
- Click on Add Task button
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/7.png').default} alt="Image" className="doc_img"/>
- Select the Script option from the provided Task Types.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/8.png').default} alt="Image" className="doc_img"/>
- Enter your Task Description.
- Select the Interpreter as Shell.
- Choose the Script Location as Inline.
- Add the followiing code in the Script Body
curl -O https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute
chmod +x hyperexecute
./hyperexecute --user <username>--key <key> --config <file>
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/9.png').default} alt="Image" className="doc_img"/>
- Add the Task and click on Create button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/10.png').default} alt="Image" className="doc_img"/>
- Configure the pipeline as per your need in the Trigger tab or leave it to Default
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/11.png').default} alt="Image" className="doc_img"/>
- Click on Actions -> Enable Plan button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/12.png').default} alt="Image" className="doc_img"/>
- Click on Run -> Run plan button.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/13.png').default} alt="Image" className="doc_img"/>
- Test will get triggered and start executing. You can check the activity status of your Job here.
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/14.png').default} alt="Image" className="doc_img"/>
- Logs of the Job Build
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/15.png').default} alt="Image" className="doc_img"/>
- Result on HyperExecute Dashboard
<img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/bamboo/16.png').default} alt="Image" className="doc_img"/>