How to merge two branch in GitHub using jenkins?

0 votes
Hi Everyone,

I want to merge two branch in GitHub using jenkins. But I am not able to do this task. Can anyone help me to implement this task?
May 7 in Jenkins by akhtar
• 15,260 points
299 views

1 answer to this question.

0 votes

Hi@akhtar,

To implement this task you can follow the below given steps.

  • Set your GitHub repo with credentials.

  • After that you have to set your branch name to merge. Go to source code management->Additional Behaviours->Merge before build.

  • Set your user name and user email. Go to source code management->Additional Behaviours->Custom user name and email.

Now your job is ready to merge your branch. You can also go through the below GitHub link to get more information.

https://github.com/nadim70/Newproject.git

answered May 7 by MD
• 34,440 points
what is custom user name?
You can give any user name and email. Jenkins needs one username and email id to connect with GitHub.

Related Questions In Jenkins

0 votes
2 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 54,260 points
6,532 views
0 votes
2 answers
+2 votes
2 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

If you are talking about executing another ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 54,260 points
22,619 views
0 votes
1 answer

How to construct Maven installation in Jenkins for each Slave node?

I’m assuming that Java and Maven are ...READ MORE

answered Aug 1, 2018 in Jenkins by Sophie may
• 9,940 points
1,605 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
555 views
0 votes
1 answer
0 votes
1 answer

How to install jenkins in Redhat/CentOS?

Hi@akhtar, To install Jenkins in centOS/Redhat, you can ...READ MORE

answered Feb 6 in Jenkins by MD
• 34,440 points
152 views