SlideShare a Scribd company logo
Andrei Krasnitski
Cloud Foundry Engineer
ALTOROS
@altoros
Continuous Integration and
Deployment with Jenkins for
PCF
@infra-red
2
ABOUT JENKINS
An extensible automation server built on
the JVM with hundreds of plugin to support
nearly every continuous integration,
delivery and deployment pipeline
imaginable
3
ABOUT ME
• Cloud Foundry Engineer at Altoros
Andrei Krasnitski
• Long time Jenkins user and community
member
• Contributor on various open-source
projects @infra-red
@andreikrasnitski
• Maintainer of the Log Search project
4
WHY JENKINS?
• Easy setup Procedure
• Cross system support
• Answers to most of the questions are available on the WEB
• Extensive Documentation and Tutorials
• Distributed builds
• Full Transparency and Total Control
5
LEARNING CURVE
Scripts,
Jenkins CRON with UI
Automation
flows based
on plugins
Custom plugins,
Advanced
features
6
PIPELINE AS CODE
DESCRIBING JENKINS JOBS VIA CODE
7
BENEFITS?
• CI pipelines + project source code are in a one place
• Configuration change tracking
• Built-in global library to share scripts, functions,
variables across jobs
• Extend the DSL with your own
steps
8
PIPELINE SAMPLE
• Syntax: Groovy-based DSL
• Store job description on SCM, e.g. jenkinsfile in the repo’s root
• https://tiny.cc/jenkins-pipeline
9
SNIPPET GENERATOR
• First steps are
always the hardest
• Create your code
for individual steps
• Discover all the
steps provided by
plugin
10
PIPELINE EDITOR
• Edit the Jenkinsfile
for a specific branch
directly from the
Web user interface
using the Visual
Pipeline Editor
11
TOOLS
• Blue Ocean editor
• Command-line pipeline linter
• Jenkins Pipeline Unit Testing Framework
• ”Replay” function
12
MULTIBRANCH WORKFLOW
• Job configurations contain only the reference to the
SCM
• Jenkins takes pipeline from jenkinsfile in SCM
• Pull-request builds
• Jenkins creates separate subtasks for branches,
builds and report results separately
• Organization Folders
13
BUILD ENVIRONMENT
JENKINS WORKERS
14
CONTAINER RUNTIME
Docker
Kubernetes
Apache Mesos
Docker is an open platform for developers and sysadmins to build, ship, and run distributed
applications, whether on laptops, data center VMs, or the cloud.
Kubernetes is an open-source system for automating deployment, scaling, and management of
containerized applications.
Apache Mesos is an open-source project to manage computer clusters.
15
BENEFITS?
• No need for manual worker nodes
management
• All builds run in stateless infrastructure
• Restriction of services
• Isolation of resources
16
DOCKER SLAVES
• No need to install software on Jenkins nodes
• Use multiple versions of the same tool
• Possibility to use existing containers based on Dockerfile
content
17
ARCHITECTURE DIAGRAM
Jenkins Server
Docker Swarm
18
SUMMARY
• Finally nice pipelines!
• The way to go with Jenkins
• Many of Jenkins plugins already compatible
• Pipeline as code!
• Versioned
• Code sharing
• New UI stuff is still broken
• Endless possibilities – can be complex and
painful
altoros.com
blog.altoros.com
19
@altoros
Thank you!
@infra-red

More Related Content

What's hot (20)

PDF
DCEU 18: 5 Patterns for Success in Application Transformation
Docker, Inc.
 
PDF
On Prem Container Cloud - Lessons Learned
CodeOps Technologies LLP
 
PDF
DockerCon SF 2015: How to Build a Secure DevOps Environment for the Government
Docker, Inc.
 
PDF
DockerCon SF 2015: From Months to Minutes
Docker, Inc.
 
PDF
Windows container security
Docker, Inc.
 
PPTX
DEVNET-1183 OpenShift + Kubernetes + Docker
Cisco DevNet
 
PDF
Automation CI CD with Gitlab, Java, docker on Hidora - Jelastic
Hidora
 
PDF
Multi-cloud Kubernetes BCDR with Velero
Kublr
 
PDF
DockerCon SF 2015: Docker in the New York Times Newsroom
Docker, Inc.
 
PDF
5 patterns for success for application transformation
Docker, Inc.
 
PDF
DockerCon SF 2015: Ben Golub's Keynote Day 1
Docker, Inc.
 
PDF
Cost-effective Compute Clusters with Spot and Pre-emptible Instances - KubeCo...
Platform9
 
PDF
Java in a world of containers
Docker, Inc.
 
PDF
OSDC 2018 | Git things done with GitLab by Gabriel Hartmann and Nicole Lang
NETWAYS
 
ODP
Openshift presentation
Armağan Ersöz
 
PDF
Containers & Cloud Native Ops Cloud Foundry Approach
CodeOps Technologies LLP
 
PDF
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
Docker, Inc.
 
PPTX
Top 5 Considerations for Successful Deployment of Kubernetes
Platform9
 
PDF
Automating CICD Pipeline with GitLab and Docker Containers for Java Applications
Jelastic Multi-Cloud PaaS
 
PDF
KUBERNETES AS A FRAMEWORK FOR WRITING DEVOPS & MICROSERVICES TOOLING
CodeOps Technologies LLP
 
DCEU 18: 5 Patterns for Success in Application Transformation
Docker, Inc.
 
On Prem Container Cloud - Lessons Learned
CodeOps Technologies LLP
 
DockerCon SF 2015: How to Build a Secure DevOps Environment for the Government
Docker, Inc.
 
DockerCon SF 2015: From Months to Minutes
Docker, Inc.
 
Windows container security
Docker, Inc.
 
DEVNET-1183 OpenShift + Kubernetes + Docker
Cisco DevNet
 
Automation CI CD with Gitlab, Java, docker on Hidora - Jelastic
Hidora
 
Multi-cloud Kubernetes BCDR with Velero
Kublr
 
DockerCon SF 2015: Docker in the New York Times Newsroom
Docker, Inc.
 
5 patterns for success for application transformation
Docker, Inc.
 
DockerCon SF 2015: Ben Golub's Keynote Day 1
Docker, Inc.
 
Cost-effective Compute Clusters with Spot and Pre-emptible Instances - KubeCo...
Platform9
 
Java in a world of containers
Docker, Inc.
 
OSDC 2018 | Git things done with GitLab by Gabriel Hartmann and Nicole Lang
NETWAYS
 
Openshift presentation
Armağan Ersöz
 
Containers & Cloud Native Ops Cloud Foundry Approach
CodeOps Technologies LLP
 
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
Docker, Inc.
 
Top 5 Considerations for Successful Deployment of Kubernetes
Platform9
 
Automating CICD Pipeline with GitLab and Docker Containers for Java Applications
Jelastic Multi-Cloud PaaS
 
KUBERNETES AS A FRAMEWORK FOR WRITING DEVOPS & MICROSERVICES TOOLING
CodeOps Technologies LLP
 

Similar to Continuous Integration and Deployment with Jenkins for PCF (20)

PPTX
CICD with Jenkins
MoogleLabs default
 
PDF
Jenkins Pipelines
Steffen Gebert
 
PPTX
DevOps-CI_CD_JAVA_JAVA______Jenkins.pptx
ajaysahu931430
 
PDF
An Open-Source Chef Cookbook CI/CD Implementation Using Jenkins Pipelines
Steffen Gebert
 
PDF
(Declarative) Jenkins Pipelines
Steffen Gebert
 
PPTX
Continuous Integration With Jenkins Docker SQL Server
Chris Adkin
 
PPTX
Jenkins talk at Silicon valley DevOps meetup
CloudBees
 
PPTX
Pipeline as code - new feature in Jenkins 2
Michal Ziarnik
 
PDF
Continuous Integration/Deployment with Docker and Jenkins
Francesco Bruni
 
PDF
Pipeline as Code Continuous Delivery with Jenkins Kubernetes and Terraform 1s...
naveencwana55
 
PPTX
Jenkins2 - Coding Continuous Delivery Pipelines
Brent Laster
 
PPTX
Continuous integration jenkins-installation in ec2 instace linux
Maheshnagakumar Tokala
 
PDF
Continuous delivery with jenkins pipelines @ devdays
Roman Pickl
 
PDF
Continuous Integration using Jenkins with Python
Inexture Solutions
 
PPTX
Continuous integration
Yoshan madhumal
 
PDF
Continuous Integration using Docker & Jenkins
B1 Systems GmbH
 
ODP
A CI/CD Pipeline to Deploy and Maintain OpenStack - cfgmgmtcamp2015
Simon McCartney
 
PPTX
Ordina Accelerator program 2019 - Jenkins blue ocean pipelines
Bert Koorengevel
 
PPTX
Jenkins_Continous integration _CD_Presentation.pptx
gauriraykar244
 
PPTX
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
James Strong
 
CICD with Jenkins
MoogleLabs default
 
Jenkins Pipelines
Steffen Gebert
 
DevOps-CI_CD_JAVA_JAVA______Jenkins.pptx
ajaysahu931430
 
An Open-Source Chef Cookbook CI/CD Implementation Using Jenkins Pipelines
Steffen Gebert
 
(Declarative) Jenkins Pipelines
Steffen Gebert
 
Continuous Integration With Jenkins Docker SQL Server
Chris Adkin
 
Jenkins talk at Silicon valley DevOps meetup
CloudBees
 
Pipeline as code - new feature in Jenkins 2
Michal Ziarnik
 
Continuous Integration/Deployment with Docker and Jenkins
Francesco Bruni
 
Pipeline as Code Continuous Delivery with Jenkins Kubernetes and Terraform 1s...
naveencwana55
 
Jenkins2 - Coding Continuous Delivery Pipelines
Brent Laster
 
Continuous integration jenkins-installation in ec2 instace linux
Maheshnagakumar Tokala
 
Continuous delivery with jenkins pipelines @ devdays
Roman Pickl
 
Continuous Integration using Jenkins with Python
Inexture Solutions
 
Continuous integration
Yoshan madhumal
 
Continuous Integration using Docker & Jenkins
B1 Systems GmbH
 
A CI/CD Pipeline to Deploy and Maintain OpenStack - cfgmgmtcamp2015
Simon McCartney
 
Ordina Accelerator program 2019 - Jenkins blue ocean pipelines
Bert Koorengevel
 
Jenkins_Continous integration _CD_Presentation.pptx
gauriraykar244
 
Louisville Software Engineering Meet Up: Continuous Integration Using Jenkins
James Strong
 
Ad

More from Altoros (20)

PDF
Maturing with Kubernetes
Altoros
 
PDF
Kubernetes Platform Readiness and Maturity Assessment
Altoros
 
PDF
Journey Through Four Stages of Kubernetes Deployment Maturity
Altoros
 
PPTX
SGX: Improving Privacy, Security, and Trust Across Blockchain Networks
Altoros
 
PPTX
Using the Cloud Foundry and Kubernetes Stack as a Part of a Blockchain CI/CD ...
Altoros
 
PPTX
A Zero-Knowledge Proof: Improving Privacy on a Blockchain
Altoros
 
PPTX
Crap. Your Big Data Kitchen Is Broken.
Altoros
 
PDF
Containers and Kubernetes
Altoros
 
PPTX
Distributed Ledger Technology for Over-the-Counter Trading
Altoros
 
PPTX
5-Step Deployment of Hyperledger Fabric on Multiple Nodes
Altoros
 
PPTX
Deploying Kubernetes on GCP with Kubespray
Altoros
 
PPTX
UAA for Kubernetes
Altoros
 
PPTX
Troubleshooting .NET Applications on Cloud Foundry
Altoros
 
PPTX
How to Never Leave Your Deployment Unattended
Altoros
 
PPTX
Cloud Foundry Monitoring How-To: Collecting Metrics and Logs
Altoros
 
PDF
Smart Baggage Tracking: End-to-End Sensor-Based Solution
Altoros
 
PPTX
Navigating the Ecosystem of Pivotal Cloud Foundry Tiles
Altoros
 
PPTX
AI as a Catalyst for IoT
Altoros
 
PPTX
Over-Engineering: Causes, Symptoms, and Treatment
Altoros
 
PPTX
What's New in the Cloud Foundry Ecosystem?
Altoros
 
Maturing with Kubernetes
Altoros
 
Kubernetes Platform Readiness and Maturity Assessment
Altoros
 
Journey Through Four Stages of Kubernetes Deployment Maturity
Altoros
 
SGX: Improving Privacy, Security, and Trust Across Blockchain Networks
Altoros
 
Using the Cloud Foundry and Kubernetes Stack as a Part of a Blockchain CI/CD ...
Altoros
 
A Zero-Knowledge Proof: Improving Privacy on a Blockchain
Altoros
 
Crap. Your Big Data Kitchen Is Broken.
Altoros
 
Containers and Kubernetes
Altoros
 
Distributed Ledger Technology for Over-the-Counter Trading
Altoros
 
5-Step Deployment of Hyperledger Fabric on Multiple Nodes
Altoros
 
Deploying Kubernetes on GCP with Kubespray
Altoros
 
UAA for Kubernetes
Altoros
 
Troubleshooting .NET Applications on Cloud Foundry
Altoros
 
How to Never Leave Your Deployment Unattended
Altoros
 
Cloud Foundry Monitoring How-To: Collecting Metrics and Logs
Altoros
 
Smart Baggage Tracking: End-to-End Sensor-Based Solution
Altoros
 
Navigating the Ecosystem of Pivotal Cloud Foundry Tiles
Altoros
 
AI as a Catalyst for IoT
Altoros
 
Over-Engineering: Causes, Symptoms, and Treatment
Altoros
 
What's New in the Cloud Foundry Ecosystem?
Altoros
 
Ad

Recently uploaded (20)

PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 

Continuous Integration and Deployment with Jenkins for PCF

  • 1. Andrei Krasnitski Cloud Foundry Engineer ALTOROS @altoros Continuous Integration and Deployment with Jenkins for PCF @infra-red
  • 2. 2 ABOUT JENKINS An extensible automation server built on the JVM with hundreds of plugin to support nearly every continuous integration, delivery and deployment pipeline imaginable
  • 3. 3 ABOUT ME • Cloud Foundry Engineer at Altoros Andrei Krasnitski • Long time Jenkins user and community member • Contributor on various open-source projects @infra-red @andreikrasnitski • Maintainer of the Log Search project
  • 4. 4 WHY JENKINS? • Easy setup Procedure • Cross system support • Answers to most of the questions are available on the WEB • Extensive Documentation and Tutorials • Distributed builds • Full Transparency and Total Control
  • 5. 5 LEARNING CURVE Scripts, Jenkins CRON with UI Automation flows based on plugins Custom plugins, Advanced features
  • 6. 6 PIPELINE AS CODE DESCRIBING JENKINS JOBS VIA CODE
  • 7. 7 BENEFITS? • CI pipelines + project source code are in a one place • Configuration change tracking • Built-in global library to share scripts, functions, variables across jobs • Extend the DSL with your own steps
  • 8. 8 PIPELINE SAMPLE • Syntax: Groovy-based DSL • Store job description on SCM, e.g. jenkinsfile in the repo’s root • https://tiny.cc/jenkins-pipeline
  • 9. 9 SNIPPET GENERATOR • First steps are always the hardest • Create your code for individual steps • Discover all the steps provided by plugin
  • 10. 10 PIPELINE EDITOR • Edit the Jenkinsfile for a specific branch directly from the Web user interface using the Visual Pipeline Editor
  • 11. 11 TOOLS • Blue Ocean editor • Command-line pipeline linter • Jenkins Pipeline Unit Testing Framework • ”Replay” function
  • 12. 12 MULTIBRANCH WORKFLOW • Job configurations contain only the reference to the SCM • Jenkins takes pipeline from jenkinsfile in SCM • Pull-request builds • Jenkins creates separate subtasks for branches, builds and report results separately • Organization Folders
  • 14. 14 CONTAINER RUNTIME Docker Kubernetes Apache Mesos Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud. Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. Apache Mesos is an open-source project to manage computer clusters.
  • 15. 15 BENEFITS? • No need for manual worker nodes management • All builds run in stateless infrastructure • Restriction of services • Isolation of resources
  • 16. 16 DOCKER SLAVES • No need to install software on Jenkins nodes • Use multiple versions of the same tool • Possibility to use existing containers based on Dockerfile content
  • 18. 18 SUMMARY • Finally nice pipelines! • The way to go with Jenkins • Many of Jenkins plugins already compatible • Pipeline as code! • Versioned • Code sharing • New UI stuff is still broken • Endless possibilities – can be complex and painful