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 23 in DevOps & Agile by Anil
• 120 points

recategorized May 25 by Gitika 58 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 by MD
• 34,440 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 29, 2018 in DevOps & Agile by Tyrion anex
• 8,380 points
179 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
554 views
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 36 minutes ago in DevOps & Agile by anonymous

edited 30 minutes ago by Gitika 58 views
0 votes
1 answer

How to get the file count in amazon bucket linux cli

Hi@Shahzeb, You can do this task using the ...READ MORE

answered Apr 27 in DevOps & Agile by MD
• 34,440 points
45 views