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
• 11,270 points
91 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
• 24,500 points

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
• 53,110 points
4,858 views
0 votes
2 answers
+2 votes
2 answers

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

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 9,940 points
19,417 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,465 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
498 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
• 24,500 points
128 views