Build an Awesome CI/CD with Jenkins - Samsul (@PHP User Group Meetup, 17 September 2018)

43dfe27aabc023cd7f20d9c28a4c46d2?s=47 DOT Indonesia
September 17, 2018

Build an Awesome CI/CD with Jenkins - Samsul (@PHP User Group Meetup, 17 September 2018)

43dfe27aabc023cd7f20d9c28a4c46d2?s=128

DOT Indonesia

September 17, 2018
Tweet

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 2 $ whoami Samsul Ma’arif

    DevOps Engineer at DOT Indonesia samsul@dot-indonesia.com 085747526846
  3. Senin, 17 Sept 2018 www.samsul.web.id 3 $ project && community

  4. Senin, 17 Sept 2018 www.samsul.web.id 4 $ the-old-way Code Build

    Test Release Operate Developer handoff handoff handoff
  5. Senin, 17 Sept 2018 www.samsul.web.id 5 $ DevOps --way http://www.offshoresoftware.solutions

  6. Senin, 17 Sept 2018 www.samsul.web.id 6 https://www.smartsheet.com/devops

  7. Senin, 17 Sept 2018 www.samsul.web.id 7 $ what-is-DevOps ? –

    DevOps = new culture + new tools + new skills – ”bridge beween development and operations”
  8. 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.
  9. Senin, 17 Sept 2018 www.samsul.web.id 9 $ DevOps --tools http://maximelanciauxbi.blogspot.com

  10. Senin, 17 Sept 2018 www.samsul.web.id 10

  11. Senin, 17 Sept 2018 www.samsul.web.id 11

  12. 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
  13. 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
  14. 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
  15. Senin, 17 Sept 2018 www.samsul.web.id 15 – Build automation –

    Continous Integration – Test automation – Continous Delivery/Deployment – DevOps
  16. Senin, 17 Sept 2018 www.samsul.web.id 16

  17. Senin, 17 Sept 2018 www.samsul.web.id 17 Demo time wiki.jenkins.io

  18. 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
  19. 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_