SlideShare a Scribd company logo
Modern Jenkins
How Jenkins 2 works and how to automate it
by Camilo Ribeiro
Agenda
• Quick intro to Magine
• Camilo who???
• Intro to Jenkins evolution at Magine
• What benefits we see on the current platform
• Demo!!!
• Questions and discussion
But feel free to interrupt and ask for questions
or clarifications at any time
Magine
magine.com
Camilo
@camiloribeiro
camilo@camiloribeiro.com
• Brazilian, Software Engineer and Fika enthusiast
• Started breaking systems in 2005
• Today tries to keep them from breaking in first place
• Worked as tester, developer and Infra/Ops
• Uses Jenkins since Hudson times
• Automation freak
• Before Magine, worked at ThoughtWorks and Klarna
How it was before
How it was before
• Copy from previous job
• Needed jenkins person on the team
• Usually needed Infra/Ops support
• Kept old habits and bad design from job to job
• Not automated at all
How it got better
How it got better
• All automated with delivery-pipeline plugin
• Tons of groovy code (we found out it to be a problem)
• No need for jenkins “specialist” on team, but highly
dependent on infra/ops
• Hard to customize while reusing (just as complex as
coding)
• Several more jobs created (one job/step)
• Drive-model off devops mentality
How the pipeline is now
How the pipeline is now
1. Single file is added to any repository/branch on
the organisation
2. A new pipeline line is created on that brach
3. Works :)
Benefits of the pipeline now
• Highly flexible
• Super easy to reuse in a Team Level
• Credentials can be used without knowing them
• Enforces ownership of pipelines by the teams
• No dependency on Infra/Ops for anything*
• Fully automated
How Jenkins is now
How the Jenkins is now
• Both Master and Agentes are created by Ansible Scripts and
provisioned with packer on AWS
• They have all needed libs and docker installed
• Master starts the day with zero instances and uses autoscaling
groups to increase capacity depending on demand
• On idle the agentes are turned off to save money
• Jenkins / Github organisation integration provides easy access to
code and integration with PR and events
• AMI Access to Master and Agents
• Use some NFSs to keep caches shared on agents (ex: sbt cache)
Demo
github.com/camiloribeiro/cdeasy
Keywords
• Ansible
• HashiCorp Packer
• Amazon EC2 / Cloudformation (or GCP, Azure, etc)
• Groovy
• Docker
• Git
Learn / Practice
https://github.com/camiloribeiro/cdeasy
We are hiring!!!
http://app.jobvite.com/m?3VR9Diwl
Tack!

More Related Content

What's hot (20)

PPTX
How to Supercharge your PHP Web API
Aurimas Niekis
 
PDF
Engage 2020: Hello are you listening, There is stream for everything
Frank van der Linden
 
PDF
NCUG 2019: Spring forward: an introduction to Spring boot and Thymeleaf for (...
Frank van der Linden
 
PDF
Devops and Immutable infrastructure - Cloud Expo 2015 NYC
John Willis
 
PDF
Serverless On Stage - Serverless URL Shortener
Luca Bianchi
 
PDF
20161103 Serverless Italy Meetup
Luca Bianchi
 
PPTX
I Don't Test Often ...
Gareth Bowles
 
PDF
Automating everything with Microsoft Flow
Jaap Brasser
 
PDF
Go with the flow!
Jaap Brasser
 
PDF
Automate it with Azure Functions
Jaap Brasser
 
PDF
Introduction to keras
Haritha Thilakarathne
 
PDF
Migrate PHP E-Commerce Site to Go
Weng Wei
 
PDF
Automate yourself out of a job - Use ChatOps!
Jaap Brasser
 
PDF
SGCE 2015 REST APIs
Domingo Suarez Torres
 
PPTX
From Code to the Monkeys: Continuous Delivery at Netflix
Dianne Marsh
 
PDF
Wilko Nienhaus - continuous delivery release the right thing, done right, at ...
DevConFu
 
PDF
10 Things you should know about Ruby
sikachu
 
PDF
Continuous delivery of your legacy application
ColdFusionConference
 
PDF
Take your CFML Legacy Apps to Modernization
Ortus Solutions, Corp
 
How to Supercharge your PHP Web API
Aurimas Niekis
 
Engage 2020: Hello are you listening, There is stream for everything
Frank van der Linden
 
NCUG 2019: Spring forward: an introduction to Spring boot and Thymeleaf for (...
Frank van der Linden
 
Devops and Immutable infrastructure - Cloud Expo 2015 NYC
John Willis
 
Serverless On Stage - Serverless URL Shortener
Luca Bianchi
 
20161103 Serverless Italy Meetup
Luca Bianchi
 
I Don't Test Often ...
Gareth Bowles
 
Automating everything with Microsoft Flow
Jaap Brasser
 
Go with the flow!
Jaap Brasser
 
Automate it with Azure Functions
Jaap Brasser
 
Introduction to keras
Haritha Thilakarathne
 
Migrate PHP E-Commerce Site to Go
Weng Wei
 
Automate yourself out of a job - Use ChatOps!
Jaap Brasser
 
SGCE 2015 REST APIs
Domingo Suarez Torres
 
From Code to the Monkeys: Continuous Delivery at Netflix
Dianne Marsh
 
Wilko Nienhaus - continuous delivery release the right thing, done right, at ...
DevConFu
 
10 Things you should know about Ruby
sikachu
 
Continuous delivery of your legacy application
ColdFusionConference
 
Take your CFML Legacy Apps to Modernization
Ortus Solutions, Corp
 

Similar to Jenkins2: How Jenkins 2 works and how to automate it (20)

PPTX
DevOps-CI_CD_JAVA_JAVA______Jenkins.pptx
ajaysahu931430
 
PPTX
CICD with Jenkins
MoogleLabs default
 
PPTX
Ordina Accelerator program 2019 - Jenkins blue ocean pipelines
Bert Koorengevel
 
PPTX
SD DevOps Meet-up - Jenkins 2.0 and Pipeline-as-Code
Brian Dawson
 
PDF
vodQA Pune (2019) - Jenkins pipeline As code
vodQA
 
PDF
Jenkins : Pipeline As Code
Shreyas Chaudhari
 
PPTX
Jenkins talk at Silicon valley DevOps meetup
CloudBees
 
PDF
The state of Jenkins pipelines or do I still need freestyle jobs
Andrey Devyatkin
 
PPTX
Pipeline as code - new feature in Jenkins 2
Michal Ziarnik
 
PDF
Implementing CI CD UiPath Using Jenkins Plugin
Satish Prasad
 
PPTX
Jenkins2 - Coding Continuous Delivery Pipelines
Brent Laster
 
PDF
Pipeline as Code Continuous Delivery with Jenkins Kubernetes and Terraform 1s...
naveencwana55
 
PDF
CI/CD Pipeline as a Code using Jenkins 2
Mayank Patel
 
PDF
35 Jenkins Interview Questions and Answers for 2023.pdf
himanijain83
 
PPTX
varun JENKINS.pptx
VgPolampalli
 
PPTX
Jenkins tutorial
Mamun Rashid, CCDH
 
PDF
Stockholm JAM September 2018
Andrey Devyatkin
 
PDF
Jenkins-Resource un documennt ingénierie.pdf
templatehtmlcssjss
 
DOC
Continuous integration and deployment with jenkins
Md. Shariful Islam ✅
 
PDF
Continuous delivery with jenkins pipelines (@devfest Vienna)
Roman Pickl
 
DevOps-CI_CD_JAVA_JAVA______Jenkins.pptx
ajaysahu931430
 
CICD with Jenkins
MoogleLabs default
 
Ordina Accelerator program 2019 - Jenkins blue ocean pipelines
Bert Koorengevel
 
SD DevOps Meet-up - Jenkins 2.0 and Pipeline-as-Code
Brian Dawson
 
vodQA Pune (2019) - Jenkins pipeline As code
vodQA
 
Jenkins : Pipeline As Code
Shreyas Chaudhari
 
Jenkins talk at Silicon valley DevOps meetup
CloudBees
 
The state of Jenkins pipelines or do I still need freestyle jobs
Andrey Devyatkin
 
Pipeline as code - new feature in Jenkins 2
Michal Ziarnik
 
Implementing CI CD UiPath Using Jenkins Plugin
Satish Prasad
 
Jenkins2 - Coding Continuous Delivery Pipelines
Brent Laster
 
Pipeline as Code Continuous Delivery with Jenkins Kubernetes and Terraform 1s...
naveencwana55
 
CI/CD Pipeline as a Code using Jenkins 2
Mayank Patel
 
35 Jenkins Interview Questions and Answers for 2023.pdf
himanijain83
 
varun JENKINS.pptx
VgPolampalli
 
Jenkins tutorial
Mamun Rashid, CCDH
 
Stockholm JAM September 2018
Andrey Devyatkin
 
Jenkins-Resource un documennt ingénierie.pdf
templatehtmlcssjss
 
Continuous integration and deployment with jenkins
Md. Shariful Islam ✅
 
Continuous delivery with jenkins pipelines (@devfest Vienna)
Roman Pickl
 
Ad

More from Camilo Ribeiro (12)

PDF
Continuous Delivery Pipeline with Docker and Jenkins
Camilo Ribeiro
 
PDF
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Camilo Ribeiro
 
PDF
Do push para a produção: Os desafios de automação em Continuous Delivery
Camilo Ribeiro
 
PDF
Quando tdd não é o suficiente
Camilo Ribeiro
 
PPT
Boas práticas de Automação de Testes
Camilo Ribeiro
 
PPTX
Desenvolvimento Dirigido por Testes
Camilo Ribeiro
 
PPTX
Certificações em Teste e Qualidade de Software
Camilo Ribeiro
 
PPT
Teste de Software Introdução à Qualidade
Camilo Ribeiro
 
PPT
Extração de Features Usando Compilação Condicional
Camilo Ribeiro
 
PPT
Introdução a Automação de Teste de Software
Camilo Ribeiro
 
PPTX
Papéis em Teste e Qualidade de Software
Camilo Ribeiro
 
PPTX
Técnicas de Teste
Camilo Ribeiro
 
Continuous Delivery Pipeline with Docker and Jenkins
Camilo Ribeiro
 
Criando pipelines de entrega contínua multilinguagem com Docker e Jenkins
Camilo Ribeiro
 
Do push para a produção: Os desafios de automação em Continuous Delivery
Camilo Ribeiro
 
Quando tdd não é o suficiente
Camilo Ribeiro
 
Boas práticas de Automação de Testes
Camilo Ribeiro
 
Desenvolvimento Dirigido por Testes
Camilo Ribeiro
 
Certificações em Teste e Qualidade de Software
Camilo Ribeiro
 
Teste de Software Introdução à Qualidade
Camilo Ribeiro
 
Extração de Features Usando Compilação Condicional
Camilo Ribeiro
 
Introdução a Automação de Teste de Software
Camilo Ribeiro
 
Papéis em Teste e Qualidade de Software
Camilo Ribeiro
 
Técnicas de Teste
Camilo Ribeiro
 
Ad

Recently uploaded (16)

PPTX
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PPTX
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
PPTX
Birth-after-Previous-Caesarean-Birth (1).pptx
fermann1
 
PPTX
Finally, My Best IPTV Provider That Understands Movie Lovers Experience IPTVG...
Rafael IPTV
 
PDF
The AI Trust Gap: Consumer Attitudes to AI-Generated Content
Exploding Topics
 
PDF
AiDAC – Custody Platform Overview for Institutional Use.pdf
BobPesakovic
 
PDF
UI/UX Developer Guide: Tools, Trends, and Tips for 2025
Penguin peak
 
PPTX
MSadfadsfafdadfccadradfT_Presentation.pptx
pahalaedward2
 
PDF
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PDF
How Much GB RAM Do You Need for Coding? 5 Powerful Reasons 8GB Is More Than E...
freeshopbudget
 
PPTX
Internet Basics for class ix. Unit I. Describe
ASHUTOSHKUMAR1131
 
PPTX
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
PDF
GEO Strategy 2025: Complete Presentation Deck for AI-Powered Customer Acquisi...
Zam Man
 
PPTX
AI at Your Side: Boost Impact Without Losing the Human Touch (SXSW 2026 Meet ...
maytaldahan
 
DOCX
An_Operating_System by chidi kingsley wo
kingsleywokocha4
 
PPTX
InOffensive Security_cybersecurity2.pptx
wihib17507
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
The Monk and the Sadhurr and the story of how
BeshoyGirgis2
 
Birth-after-Previous-Caesarean-Birth (1).pptx
fermann1
 
Finally, My Best IPTV Provider That Understands Movie Lovers Experience IPTVG...
Rafael IPTV
 
The AI Trust Gap: Consumer Attitudes to AI-Generated Content
Exploding Topics
 
AiDAC – Custody Platform Overview for Institutional Use.pdf
BobPesakovic
 
UI/UX Developer Guide: Tools, Trends, and Tips for 2025
Penguin peak
 
MSadfadsfafdadfccadradfT_Presentation.pptx
pahalaedward2
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
How Much GB RAM Do You Need for Coding? 5 Powerful Reasons 8GB Is More Than E...
freeshopbudget
 
Internet Basics for class ix. Unit I. Describe
ASHUTOSHKUMAR1131
 
The Internet of Things (IoT) refers to a vast network of interconnected devic...
chethana8182
 
GEO Strategy 2025: Complete Presentation Deck for AI-Powered Customer Acquisi...
Zam Man
 
AI at Your Side: Boost Impact Without Losing the Human Touch (SXSW 2026 Meet ...
maytaldahan
 
An_Operating_System by chidi kingsley wo
kingsleywokocha4
 
InOffensive Security_cybersecurity2.pptx
wihib17507
 

Jenkins2: How Jenkins 2 works and how to automate it

  • 1. Modern Jenkins How Jenkins 2 works and how to automate it by Camilo Ribeiro
  • 2. Agenda • Quick intro to Magine • Camilo who??? • Intro to Jenkins evolution at Magine • What benefits we see on the current platform • Demo!!! • Questions and discussion But feel free to interrupt and ask for questions or clarifications at any time
  • 4. Camilo @camiloribeiro [email protected] • Brazilian, Software Engineer and Fika enthusiast • Started breaking systems in 2005 • Today tries to keep them from breaking in first place • Worked as tester, developer and Infra/Ops • Uses Jenkins since Hudson times • Automation freak • Before Magine, worked at ThoughtWorks and Klarna
  • 5. How it was before
  • 6. How it was before • Copy from previous job • Needed jenkins person on the team • Usually needed Infra/Ops support • Kept old habits and bad design from job to job • Not automated at all
  • 7. How it got better
  • 8. How it got better • All automated with delivery-pipeline plugin • Tons of groovy code (we found out it to be a problem) • No need for jenkins “specialist” on team, but highly dependent on infra/ops • Hard to customize while reusing (just as complex as coding) • Several more jobs created (one job/step) • Drive-model off devops mentality
  • 10. How the pipeline is now 1. Single file is added to any repository/branch on the organisation 2. A new pipeline line is created on that brach 3. Works :)
  • 11. Benefits of the pipeline now • Highly flexible • Super easy to reuse in a Team Level • Credentials can be used without knowing them • Enforces ownership of pipelines by the teams • No dependency on Infra/Ops for anything* • Fully automated
  • 13. How the Jenkins is now • Both Master and Agentes are created by Ansible Scripts and provisioned with packer on AWS • They have all needed libs and docker installed • Master starts the day with zero instances and uses autoscaling groups to increase capacity depending on demand • On idle the agentes are turned off to save money • Jenkins / Github organisation integration provides easy access to code and integration with PR and events • AMI Access to Master and Agents • Use some NFSs to keep caches shared on agents (ex: sbt cache)
  • 15. Keywords • Ansible • HashiCorp Packer • Amazon EC2 / Cloudformation (or GCP, Azure, etc) • Groovy • Docker • Git
  • 18. Tack!