Create a complete Jenkins Pipeline using a Jenkins file and GitHub webhooks.
Subscribe To Me On Youtube: https://bit.ly/lon_sub
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?
1. A Jenkins Server. If you don’t have one, follow my video on building, installing and configurating your own Jenkins server here: https://youtu.be/-GyAraXQVWM
2. A GitHub account.Feel free to use my code example: https://github.com/dmccuk/webapp1
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
#jenkins #pipeline #webhook
Take the opportunity to connect and share this video with your friends and family if you find it useful.
Keywords: jenkins pipeline tutorial, jenkinsfile, jenkinsfile tutorial, jenkinsfile tutorial for beginners, jenkinsfile syntax, how to create jenkinsfile, how to create jenkins pipeline, jenkinsfile example, jenkinsfile parameterized build, jenkinsfile post build action, post build actions in jenkins, jenkinsfile parameters, jenkins groovy pipeline tutorial, jenkins, jekins pipeline tutorial for beginners, jenkins tutorial, techworld with nana, github workflow tutorial, github tutorial