Develop Branch: Every team has separate branch which is development branch, where developers will work.
Feature Branch: Belong to each individual developer for implementing a new feature branch. This branch is created from his development branch.
Note: To creating new branch, needs to create pull request first
3.8. What is meant by Pull request?
It is used to merge changes in one branch into another branch, before merging it enables others to see decode review, suggest changes before merging to main branch
Creating Pull request: Go to pull requests -------> create pull request -------> source: develop, Destination: Master, Title:, Description: --------> create
Now, only the request was sent and didn’t merge with master
We don’t have option to merge directly. It can be done only after approval by concern person.
Then we can ‘merge’ by clicking ‘merge’
4.JENKINS:
4.1. What is meant by Jenkins?
Jenkins is a primarily known for Continuous Integration (CI) server, we also can Continuous Delivery (CD), How we can automate any kind of task using Jenkins.
We have lots of CI/CD servers available in market, But Jenkins is the most popular and widely used tool in market.
4.2. Benefits of Jenkins:
It is open source and it is user-friendly, easy to install and does not require additional installations or components.
It is free of cost.
Easily Configurable. Jenkins can be easily modified and extended. It deploys code instantly, generates test reports. Jenkins can be configured according to the requirements for continuous integrations and continuous delivery.
Platform Independent. Jenkins is available for all platforms and different operating systems, whether OS X, Windows or Linux.
Rich Plugin ecosystem. The extensive pool of plugins makes Jenkins flexible and allows building, deploying and automating across various platforms.
Easy support. Because it is open source and widely used, there is no shortage of support from large online communities of agile teams.
Developers write the tests to detect the errors of their code as soon as possible. So, the developers don’t waste time on large-scale error-ridden integrations.
Issues are detected and resolved almost right away which keeps the software in a state where it can be released at any time safely.
Most of the integration work is automated. Hence fewer integration issues. These saves both time and money over the lifespan of a project.