Complete Jenkins Pipeline Tutorial | Jenkinsfile | Github Webhook

preview_player
Показать описание

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 so much @Dennis McCarthy for such an amazing video. It helps me a lot to set up the Jenkins pipeline with Webhook.

mohammadshaazad
Автор

in the starting i was a bit lost but towards the end everything made sense, thanks for the tutorial!

satyamsareen
Автор

Your videos are just so good. You are helping me prepare for a big exam!

Fireflierification
Автор

great video, thanks for the tutorial!

jclmrt
Автор

that is a lovely introduction and a good video to understand how the most simplest of a jenkins CICD can be learnt..!! going to try it this simple one out.!! !! just wish the video had a bit more clarity .. but otherwise quite a good video.. simple and direct to the subject!

prashantdivakaran
Автор

THANKK It helped me a lot! on1 sub added

Deepu_
Автор

I followed your video and I could make it work using a JenkinsFile in the same repo... however I want to run a pipeline that is stored in another repo... I can make it work if I run the pipeline manualy but not from the webhook... do you know if it is possible???
regards!!!

mhsarg
Автор

ı use ngrok but ı get error invalid http response 400 in webhook

nurettinsen
Автор

The connection is not setting up. It is giving me the error "failed to connect with host".Do you have any tips for it?

syedmuhammadusmanghani
Автор

don't use sh for windows use bat command

nurettinsen