Lunchtime session: Create a Jenkins Pipeline on Git commit

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2021
  • 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.
    All the information I use in this demo is available on this Gist:
    gist.github.com/dmccuk/8b17f8...
    This will be a live demo that you can take part in yourself if you have a similar setup to mine.
    My Setup for the demo:
    1. A Jenkins Server. If you don’t have one, follow my video on building, installing and configurating your own Jenkins server here:
    a. • How to install and set...
    2. A GitHub account. I’m not providing code for this, I expect you to already have something you can use. I’m using a simple webpage: 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
    Subscribe to our TH-cam channel: / londoniac
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Perfect timing. It's like lunch time here indeed 👍

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

      Enjoy! glad it could help.

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

      @@LondonIAC Thank you. You are doing a good job. Much appreciated 👍

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

    Can you also bring videos on groovy script ..in few days..? I need it in hurry.
    Pls make extra effort

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

      Hi, sorry for the delay. Did you manage to resolve this?

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

      @@LondonIAC
      Thanks for the reply..yeah I solved the issue..still i am looking forward to learn groovy script from you..hope you bring it soon