what is api token in jenkins and how to use for github webhook

0 votes

I am new to jenkins and git. Can you explain about api token  and how to use for github webhook

May 24, 2020 in DevOps & Agile by Anil
• 120 points

recategorized May 25, 2020 by Gitika 2,288 views

1 answer to this question.

0 votes

Hi@Anil,

GitHub webhook is used to trigger jenkins job automatically. For an example, say you have local git repo in your system. And create one pipeline with GitHub and jenkins.

Now whenever you upload something in GitHub, webhook will automatically trigger your jenkins job and jenkins will download the files in workspace. 

But one thing you have to take care that GitHub has public IP. To create web hook for jenkins, you need Public IP of jenkins.

Hope this will help.

answered May 27, 2020 by MD
• 95,460 points

Related Questions In DevOps & Agile

+3 votes
2 answers
+13 votes
2 answers
0 votes
1 answer

How to a run deployed app in Docker for Windows?

To deploy an ASP.NET web application to ...READ MORE

answered Aug 30, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
1,234 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
4,064 views
+2 votes
1 answer
0 votes
1 answer
0 votes
2 answers

How to configure Maven in Jenkins?

HI... How to configure Maven in Jenkins- I HOPE ...READ MORE

answered Jul 14, 2020 in DevOps & Agile by anonymous

edited Jul 15, 2020 by Sirajul 52,654 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