In this session we will be learning Bitbucket features, defining branching strategies, automating build,test, release and deployment process. Further will be creating multibranch pipelines.
2. Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session timings, you
are requested not to join sessions
after a 5 minutes threshold post
the session start time.
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep your mobile devices in silent
mode, feel free to move out of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat during
the session.
3. Our Agenda
01 Introduction to Bitbucket
What is CI/CD
02
03 Branching Strategy
04 Bitbucket offering and
Features
05
55
11
11
10
Multibranch Pipelines
05 Demo
06
4. Bitbucket Introduction
Bitbucket Cloud
BitBucket is a cloud-based service that helps developers store and manage their code,
as well as track and control the changes to their code. BitBucket provides a cloud-based
Git repository hosting service. Its interface is user-friendly enough so even novice
coders can take advantage of Git. Additionally, BitBuckets provides a variety of services
like it gives teams to collaborate and create projects, test and deploy the code.
5. CI/CD Process
A continuous integration and continuous deployment (CI/CD) pipeline is a series of steps that must
be performed in order to deliver a new version of software. CI/CD pipelines are a practice focused on
improving software delivery throughout the software development life cycle via automation.
6. Branching Strategy
Bitbucket makes it easy for each member of your team to use a branching workflow for your Git development
process. Your workflow can be mapped to branches in the Bitbucket 'branching model', allowing Bitbucket to:
❖ guide your developers into making consistent naming decisions when creating branches.
❖ identify the type of each branch and apply actions like automatic merging accordingly.
7. Bitbucket offering and Features
Bitbucket provides users with three offerings: Bitbucket Cloud, Bitbucket Server, and Bitbucket Data Center.
Bitbucket Cloud is hosted on the exclusive Atlassian server and can be accessed through a URL, while Bitbucket
Server is hosted on the on-premises environment. Bitbucket Data Center (our Enterprise offering) appears to users
as a single instance of Bitbucket Server, but it is actually hosted on a cluster of servers in your environment. This has
several advantages over Bitbucket Server, like performance, scalability, high availability, and smart mirroring.
Key Features of Bitbucket
● JIRA integration: JIRA is one of the greatest tools for tracking bugs in code. It is very straightforward to integrate
Bitbucket and JIRA for tracking and managing bugs. As a result, a user can freely track the status of an issue or a
bug report without leaving the current tool.
● Built-in Issue Tracker: BitBucket’s built-in system makes it simple to track issues. This tracker is adaptable and
simple to use, with a variety of configurable fields such as version, milestone, and so on. The built-in issue tracker
can also assist us in tracking the status of bugs, new feature requests from the client/developer, and tasks.
● Code Review System: Bitbucket has a very fast code review system that allows developers and reviewers to
review pull requests in a relatively short time. It has a unique commit-level evaluation system that allows users to
easily check the updated code. In addition, Bitbucket also allows multiple reviewers to contribute to the code
review process.
● In-line Discussion: In-line Discussion can be used to insert in-line comments and threaded conversations into a
code snippet. As a result, the interactions between reviewers and developers will be improved, thereby making the
code effective and bug-free. For example, if a reviewer suggests a font style change, it will be viewable near the
code segment.
8. Bitbucket Pipelines
Bitbucket Pipelines is an integrated CI/CD service built into Bitbucket. It allows you to automatically build, test, and
even deploy your code based on a configuration file in your repository. Essentially, we create containers in the
cloud for you. Inside these containers, you can run commands (like you might on a local machine) but with all the
advantages of a fresh system, customized and configured for your needs.
Bitbucket Pipes
We can add pipes to your pipeline configuration. Pipes make it simple to configure a pipeline with a variety of
third-party tools like AWS, Firebase, and SonarCloud. Multiple pipes can be added to a single deployment
stage. To include pipes in your Bitbucket pipeline, simply select the pipe you want to use, copy the code
snippet of the pipe, and paste it into the editor. There are dozens of pipes available in Bitbucket, and you can
see the entire list by clicking Explore more pipes, as shown in the above image.