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, 2020 in Jenkins by akhtar
• 38,230 points
7,759 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, 2020 by MD
• 95,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
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 2, 2018 in Jenkins by Sophie may
• 10,610 points
4,802 views
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

answered Oct 4, 2019 in Jenkins by Petr Doležal
22,080 views
0 votes
1 answer

What are parameterized jobs in jenkins and how to configure it?

Hey @Hannah, Parameterized jobs/builds are the ones ...READ MORE

answered Dec 16, 2018 in Jenkins by Kiyara
4,808 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,504 views
+2 votes
1 answer
+1 vote
3 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
• 59,230 points
76,106 views
+5 votes
3 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
• 10,610 points
117,464 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP