Professional Documents
Culture Documents
2. Dev Branch:
This branch will be current code line for project. We will get
developers code get merged in this branch for every Pull
Request raised. Once all the needed checks are done and
code is ready for release we will merge it will master.
3. Release Branch:
Whenever a release is happening, we can merge code with
release branch. Code from release branch is the merged into
master branch after all necessary changes done after release.
This will be the stable version of the release.
Ex: a. release/v0.1
b. release_v0.1
4. Feature Branch:
This branch will be current code line for developer. Developer
will commit and push all his/her code into this branch. Once
all the coding part is done he will raise a Pull Request to Dev
branch. In this way code from all the developers will get
integrated in Dev Branch.
Ex: a. feature/name-developer
b. feature/feature-name etc.
Pipeline Strategies
2. Pipeline for PR
• When ever pull request happened from any feature/branch
to Dev branch this will be triggered. The branch should
contain needed Jenkins config files and necessary
webhooks linked to Jenkins or any other CI tools.
• Note: As this pipeline gets triggered now and then its better
not to add more time taking stages like CheckMarx, Vulas
etc.
• This should be moderate.
In GitHub
Create Webhooks:
Webhooks help us trigger our pipelines whenever an event is occurred like push, commit, pull
request etc. And they can send Payload data with respect the event occurred.
If user want to trigger only particular event he can declare only need events like:
• Commit
• Push
• PR
• Branch Creation etc.
In Jenkins
• Under ‘Manage Jenkins’ -> ‘Manage Plugins’, select and install both Github and Git
plugins. Restart to finish the installation.
• Configure your github repo HTTPS link or SSH link in jenlins