Complete Jenkins Pipeline Tutorial | Jenkinsfile | Github Webhook

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 มิ.ย. 2021
  • ** Watch in HD 1080P here: • Complete Jenkins Pipel... **
    Create a complete Jenkins Pipeline using a Jenkins file and GitHub webhooks.
    Subscribe To Me On TH-cam: 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: • How to install and set...
    2. A GitHub account.Feel free to use my code example: 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
    Helpful URLs:
    www.jenkins.io/doc/book/pipel...
    github.com/dmccuk/webapp1
    #jenkins #pipeline #webhook

ความคิดเห็น • 39

  • @dhanushsuryavamshi4279
    @dhanushsuryavamshi4279 2 ปีที่แล้ว +3

    THANKK YOU!!!!! It helped me a lot!

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว +1

      I'm glad it helped Dhanush!

  • @mohammadshaazad4131
    @mohammadshaazad4131 5 หลายเดือนก่อน

    Thank you so much @Dennis McCarthy for such an amazing video. It helps me a lot to set up the Jenkins pipeline with Webhook.

  • @Fireflierification
    @Fireflierification 2 ปีที่แล้ว +1

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

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      I'm pleased to hear it's helping and good luck in your exam!
      Let me know how you get on.

  • @cdwork9594
    @cdwork9594 2 ปีที่แล้ว +2

    Wonderful!!!!!! Really really thank you very much !!!!!!!!!!!!

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      Your welcome! I'm glad it's helped you.

  • @satyamsareen9720
    @satyamsareen9720 2 ปีที่แล้ว +1

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

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      Glad it helped!

  • @user-wl6kt1mt9j
    @user-wl6kt1mt9j ปีที่แล้ว

    Helped me out. Thank you!

    • @LondonIAC
      @LondonIAC  ปีที่แล้ว

      glad it helped

  • @jclm1rt
    @jclm1rt 2 ปีที่แล้ว +1

    great video, thanks for the tutorial!

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      your welcome.

  • @richbibby1
    @richbibby1 3 ปีที่แล้ว +1

    great video, thanks!

    • @LondonIAC
      @LondonIAC  3 ปีที่แล้ว

      No problem!
      Feel free to like the video and subscribe to my channel for more videos like this. If you have a subject you want me to make a video for, let me know.

  • @fabri7072
    @fabri7072 2 ปีที่แล้ว +1

    Thank you so much, very useful video

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      Glad it was helpful!

  • @cdwork9594
    @cdwork9594 2 ปีที่แล้ว +1

    thank you very much!!!!!!!!

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      You're welcome!

  • @Deepu_8
    @Deepu_8 ปีที่แล้ว +1

    THANKK YOU!!!!! It helped me a lot! on1 sub added

    • @LondonIAC
      @LondonIAC  ปีที่แล้ว

      Glad it helped and thanks for the sub!

  • @mehdicherifi6289
    @mehdicherifi6289 3 ปีที่แล้ว +1

    Very nice video 👍

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      Thank you very much!

  • @samf8966
    @samf8966 2 ปีที่แล้ว +1

    Thanks!

  • @prashantdivakaran9937
    @prashantdivakaran9937 2 ปีที่แล้ว +1

    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!

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      Thanks Prashant. This was one of my early ones. I've learnt so much about video/sound quality and editing in the last 6 months I may remake this video.

  • @mhs0arg
    @mhs0arg 22 วันที่ผ่านมา

    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!!!

  • @syedmuhammadusmanghani9238
    @syedmuhammadusmanghani9238 2 ปีที่แล้ว

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

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว +1

      Can you tell me at which point in the demo you are getting stuck at please?

    • @syedmuhammadusmanghani9238
      @syedmuhammadusmanghani9238 2 ปีที่แล้ว

      @@LondonIAC When i create a webhook

    • @syedmuhammadusmanghani9238
      @syedmuhammadusmanghani9238 2 ปีที่แล้ว +1

      problem is resolved, thank you

    • @rrh4760
      @rrh4760 ปีที่แล้ว

      @@syedmuhammadusmanghani9238 how did you solve it please ?

    • @Enjoy_Buddies
      @Enjoy_Buddies 7 หลายเดือนก่อน

      I am also having same issue can you assist me in that

  • @nurettinsen473
    @nurettinsen473 2 ปีที่แล้ว

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

    • @LondonIAC
      @LondonIAC  ปีที่แล้ว

      Did you manage to resolve your problem?

  • @nurettinsen473
    @nurettinsen473 2 ปีที่แล้ว

    don't use sh for windows use bat command

    • @LondonIAC
      @LondonIAC  2 ปีที่แล้ว

      Hi, yes for me I'm using a Linux server so I'm using the sh command. But of course if you're running something similar on Windows, you'll need to use the correct windows command. Thanks Nurettin.

    • @nurettinsen473
      @nurettinsen473 2 ปีที่แล้ว

      @@LondonIAC you are welcome