Using Bitbucket Pipelines for CI
We’ve spent a lot of effort building our automated tests and solution code, and all these efforts are aimed to help us develop maintainable and more reliable software. CI is the practice of being able to integrate code changes from different sources. With the addition of automated tests, this is where our hard work will start to pay off on a bigger scale with all the tests we’ve been writing. This will help in preventing us from introducing regressions into the main code base. For example, the CI process can reject a git pull request if there are broken automated tests.
There are a lot of CI tools out there, but in this example, since I am using Bitbucket for the version control in the project, I’ll just use Bitbucket Pipelines as it’s already integrated well with Bitbucket Cloud. It is extremely easy to use, as you will see. Let’s get started:
- In the Bitbucket Cloud dashboard, select the repository you...