10 Sep How to integrate real-device testing into a Bamboo pipeline
What Is Bamboo?
Bamboo is a continuous integration (CI) server that can be used to automate the release management for a software application, creating a continuous delivery pipeline.
What does this mean?
CI is a software development methodology in which a build, unit tests, and integration tests are performed, or triggered, whenever code is committed to the repository, to ensure that new changes integrate well into the existing code base. Integration builds provide early ‘fail fast’ feedback on the quality of new changes.
Bamboo assists software development teams by providing:
- automated building and testing of software source-code status.
- updates on successful and failed builds.
- reporting tools for statistical analysis.
Install and Configure Bamboo
We can download and try Bamboo free for 30 days with unlimited users at https://www.atlassian.com/software/bamboo/download. When you set up Bamboo successfully, we can move to the next part.
Create a New Project
- From the top menu bar, click Create->Create project
- Project name: The name of your project
- Project key: The key of your project
- Click Save
Create a New Plan
- From the top menu bar, click Create->Create plan
- Plan name: The name of your plan
- Plan key: The key of your plan
- Link repository to a new build plan
- Select Link new repository
- Select Git
- Enter Display name
- Enter Repository URL: https://github.com/kobiton/samples.git
- Click Test connection
- Then, click Configure plan to finish this part
- Click Add task
- Enter Script to search Task types
- Select Script
- Enter Task description
- Copy the snippet code below and paste into Script body
- Click Save
- Click Save and Continue
- Select Variables tab
- Add two variables
- On the right corner, select Actions drop-down
- Choose Enable plan
- Go to Build -> All build plans
- Click created plan link
- Click Run -> Run Plan option, as shown below.
- If the run is successful, then it shows a message in green color.
- If the build is failed, then it shows a message in red color.
- We can view the report Details by clicking on the Running Job
- We can also view the overview by clicking on your plan, it lists out all passed/ failed jobs
- Or access https://portal.kobiton.com/sessions to get your test sessions