Complete Jenkins Pipeline Tutorial | Jenkinsfile | Github Webhook

preview_player
Показать описание
** Now in HD quality **

Create a complete Jenkins Pipeline using a Jenkins file and GitHub webhooks.

Being able to setup and use Jenkins as part of your CICD pipeline is vital in the DevOps world. If you know how to do this, it will only help your career.

What do you need for this?

3. A spare server you can run a website on and keys for Jenkins to be able to run commands on it.

What I’m going to cover:

• Setup a new Jenkins pipeline.
• Add some simple pipeline code for a few demo stages.
• Then create an access token in GitHub.
• Setup the credentials in Jenkins.
• Add a webhook to our Github project.
• Add a JenkinsFile with the pipeline code to our GitHub project.
• Modify the pipeline in Jenkins to run a script from SCM/Git.
• Test the Githook on commit to the GitHub project.
• Watch the pipeline in action

Helpful URLs:

#jenkins #pipeline #webhook
Рекомендации по теме
Комментарии
Автор

Thank you very much for this excellent tutorial! I was trying to set up Github Webhook with Jenkins by following several tutorials on the web, but I`ve got a slight headache😅, because they tend to not explain primitive things, so your tutorial helped me to summarise everything.😉

kalmanjudin
Автор

thank you, buddy! one of the multiple puzzle pieces that got me rolling with my needs. much love <3

Vrx-ypeu
Автор

Hello Dennis
Do you have any video to create vpc with github, jenkins and terraform. I am looking for something which can teach us from scratch. Appreciated if you can help.
Thank you

Kashif-ugf
Автор

Many thanks Dennis, a great first introduction to pipelines

johnjames_cowperthwaite
Автор

this is far from a complete tutorial, your webhook payload is not validated, more or less everyone can trigger your jenkins job, not professional, and for sure not "complete".

elibukin
Автор

Hi, it is awesome, I am trying on my side, getting a message connecting to remote host "Host key verification failed"
Thank you again

renatosalas