Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build an Awesome CI/CD with Jenkins

Build an Awesome CI/CD with Jenkins

Ngalam Backend Community

September 17, 2018
Tweet

More Decks by Ngalam Backend Community

Other Decks in Technology

Transcript

  1. Senin, 17 Sept 2018 www.samsul.web.id Build an Awesome CI/CD with

    Jenkins Presented in Malang PHP User Group Meetup
  2. Senin, 17 Sept 2018 www.samsul.web.id 4 $ the-old-way Code Build

    Test Release Operate Developer handoff handoff handoff
  3. Senin, 17 Sept 2018 www.samsul.web.id 7 $ what-is-DevOps ? –

    DevOps = new culture + new tools + new skills – ”bridge beween development and operations”
  4. Senin, 17 Sept 2018 www.samsul.web.id 8 $ DevOps --goal –

    Shorter development cycles – Increased deployment frequency – More dependable releases in close alignment with business objectives. – To strongly advocate automationand monitoring at all steps of software development process.
  5. Senin, 17 Sept 2018 www.samsul.web.id 12 $ whatis Jenkins Jenkins

    is an open source automation server which enables developers around the world to reliably automate their development lifecycle processes of all kinds, including build, document, test, package, stage, deployment, static analysis and many more. Jenkins is being widely used in areas of Continuos Integration, Continuous Delivery, DevOps, and other areas. And it is not only about software, the same automation techniques can be applied in other areas like Hardware Engineering, Embedded Systems, BioTech, etc. Source: # apt-cache show jenkins
  6. Senin, 17 Sept 2018 www.samsul.web.id 13 $ Jenkins --features –

    Easy installation – Easy configuration – Rich plugin ecosystem – Extensibility – Distributed builds sumber: https://wiki.jenkins.io/display/JENKINS/Meet+Jenkins
  7. Senin, 17 Sept 2018 www.samsul.web.id 14 $ Jenkins --instalation $

    wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - $ sudo sh -c 'echo deb http://pkg.jenkins.io/debian- stable binary/ > /etc/apt/sources.list.d/jenkins.list' $ sudo apt-get update $ sudo apt-get install default-jre jenkins Demo Instalasi : https://s.id/installjenkins
  8. Senin, 17 Sept 2018 www.samsul.web.id 15 – Build automation –

    Continous Integration – Test automation – Continous Delivery/Deployment – DevOps
  9. Senin, 17 Sept 2018 www.samsul.web.id 18 $ repo --used-in-demo –

    https://gitlab.com/samsulmaarif/laravel5-jen kins – https://github.com/samsulmaarif/laravel-5-b oilerplate/ – https://github.com/samsulmaarif/devops-wa y – https://github.com/samsulmaarif/DOT-Kotlin -Boilerplate
  10. Senin, 17 Sept 2018 www.samsul.web.id 19 Thank You Fb :

    samsul.web.id IG : samsul.web.id M : @samsul.web.id Tw : samsulmaarif_