Integrating pCloudy with Bamboo
Bamboo is an automation server used for continuous integration. This tool allows the developers to automatically build, document, integrate, test the source code and prepare an app for deployment. It comes with the flexibility to use various tools, easy to use graphical user interface and allows the developers to use CI/ CD methodologies.
- JDK 8 and above
- Android-sdk latest version
You can download the Bamboo setup file & install it on your machine. You can refer below links:
Step 1 After successful installation of Bamboo on your system, you can access its services on web browser.Navigate to Bamboo login page & login with the valid credentials.
Step 2 After successful login click on Create and Create Project
Step 3 Enter Project name, description and click on Save
Step 4 Click on Create Plan
Step 5 Configure a new plan on Bamboo. Fill all required fields & click on Configure plan.
Note: Select None as Repository host dropdown list.
Step 6 Click on Add Task
Step 7 Look for “script” as the task name and click on the suggested Script task.
Step 8 Further, user need to configure task.Enter Script Configuration details as shown in below Screenshot
- Enter Task description
- In Interpreter dropdown: Select: /bin/sh or cmd.exe
- Script Location: select Inline
- Script Body: Enter < Script Path>
User can create their automation script and paste here for integration
Example: cd C:\Users\hp\Downloads\pCloudy-sample-projects-master\Java\NewAppium_SampleProjects\Chapter1-TestNg+OnSingleDevice(Android)
Step 9 Click Save and Create
Step 10 Click on Run and then select Run Now option to trigger the execution.
Step 11 Monitor the logs once build is started
Step 12 Once execution has finished successfully, the user can view the details of the execution result.