Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
A Continuous Journey with Jenkins
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Twistlock
March 28, 2019
Technology
0
34
A Continuous Journey with Jenkins
Twistlock
March 28, 2019
Tweet
Share
More Decks by Twistlock
See All by Twistlock
Container Security & Application Modernization
twistlock
0
96
2019 CISO Leadership Forum: Security 3.0 – Shifting to Automation
twistlock
0
78
AWS Containerized and Serverless services for running enterprise code at scale
twistlock
0
41
How Containers Change the Security Paradigm
twistlock
0
42
Going Infinite, handling 1M websockets connections in Go
twistlock
0
150
DevSecOps meets GitOps with Twistlock and Weaveworks
twistlock
0
160
The Story of Escape Sequence Vulnerabilities
twistlock
0
100
Real World Security: Software Supply Chain
twistlock
0
110
Exploiting Alpine Linux From Vulnerability to Code Execution
twistlock
1
400
Other Decks in Technology
See All in Technology
Claude Codeが爆速進化してプラグイン追従がつらいので半自動化した話 ver.2
rfdnxbro
0
300
ビズリーチにおける検索・推薦の取り組み / DEIM2026
visional_engineering_and_design
1
110
作りっぱなしで終わらせない! 価値を出し続ける AI エージェントのための「信頼性」設計 / Designing Reliability for AI Agents that Deliver Continuous Value
aoto
PRO
1
150
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
5
1.1k
Databricksアシスタントが自分で考えて動く時代に! エージェントモード体験もくもく会
taka_aki
0
330
管理者向けGitHub Enterpriseの運用Tips紹介: 人にもAIにも優しいプラットフォームづくり
yuriemori
0
150
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
オレ達はAWS管理をやりたいんじゃない!開発の生産性を爆アゲしたいんだ!!
wkm2
3
230
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
5
270
マネージャー版 "提案のレベル" を上げる
konifar
20
13k
クラウド時代における一時権限取得
krrrr38
1
170
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
820
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
220
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
190
Amusing Abliteration
ianozsvald
0
120
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
GraphQLとの向き合い方2022年版
quramy
50
14k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
360
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
94
Transcript
A Continuous Journey with Jenkins
Meet Me David B. Schott Sr. Biz Dev Eng /
Partner SA CloudBees, Inc. 2 dbschott schottsfired
Meet Jenkins -An open source automation server -Facilitates Continuous Integration
(CI) and Continuous Delivery (CD) -Flexible and extensible with 1550+ Plugins 3
Our Journey Begins...
Huge success!
Weeks later...
Attach Agents! Master Agent Execute commands Logs, test results, artifacts
- Agents become snowflakes - Competition for resources Weeks later...
CloudBees DevOptics - Run Insights - Free* Forever! https://www.cloudbees.com/products/cloudbees-devoptics 9
*
Now what? Developers: must we point and click to make
things work in Jenkins? 10
CI/CD instructions as code Durable Resumable Auditable Reviewable Programmatic Shareable
Convert to Pipeline! //Jenkinsfile.groovy pipeline { agent { docker 'maven:3-alpine' } stages { stage('Example Build') { steps { sh 'mvn -B clean verify' } } } }
CloudBees Blue Ocean 12
A DevSecOps Blue Ocean Pipeline.. “It’s at this point in
our journey that we can implement DevSecOps, like so” 13
- Increased adoption - More builds, more branches - Additional
master load Weeks Later...
- No more load issues - Failures are less impactful
- Teams have their own - Plugins - Configurations - Build queue Scale Masters!
- Optimizing agent resources - Difficulties - Managing - Securing
- Governing - Operationalizing Scaling Challenges
CloudBees Core https://www.cloudbees.com/products/cloudbees-core 17 Jenkins Operations Center Jenkins Master Project
Team 1 Jenkins Master Project Team 2 Jenkins Master Project Team 3 Jenkins Master Project Team 4 Build Agent Build Agent Build Agent Build Agent Build Agent Build Agent RBAC LDAP Plugin Catalog Shared Agents
Now what? Kubernetes (K8s), oh my! 18
- Fault tolerant by default - Small and nimble -
Fewer moving pieces during upgrades - Bin packing Masters in Kubernetes
- Launched on demand, as capacity allows - May be
defined by end users - Simplified tooling and dependency management - Steps are run in containers - Shared workspace Agents in Kubernetes //Jenkinsfile.groovy pipeline { agent { kubernetes { //cloud 'kubernetes' label 'mypod' yaml """ apiVersion: v1 kind: Pod spec: containers: - name: maven image: maven:3.3.9-jdk-8-alpine command: ['cat'] tty: true """ } } stages { stage('Run Maven') { steps { container('maven') { sh 'mvn -version' } } } } }
- How do we treat masters as cattle, not pets?
- How do we leverage Cloud services? - How do we onboard new apps more quickly? - What does K8s-native CD look like? Cloud Native Thinking
Webhook “The world is envisioned as a repo and not
as a kubernetes installation" - Kelsey Hightower GitOps Pattern 22 Desired State Operator Apply
Towards a Cloud Native Jenkins 23 Building blocks Pluggable Storage
Configuration as Code Jenkins X
Configuration as Code https://jenkins.io/projects/jcasc/ 24
- Goal: eliminate the need for jenkins_home - How? -
Artifact Manager for S3 - Kubernetes Credentials Provider - Logs → Elasticsearch, Fluentd, CloudWatch - Many more, WiP Pluggable Storage /jenkins_home /jobs /plugins ... https://jenkins.io/sigs/cloud-native/pluggable-storage/
Jenkins X https://jenkins-x.io 26
CloudBees Core for Kubernetes CD - Limited Availability https://pages.cloudbees.com/K8s 27
Summary / Next Steps - Reach out to CloudBees to
learn more! - Jenkins: Shifting Gears by Kohsuke Kawaguchi (CTO) - 8/31/18 - CloudBees and Jenkins Update by Christina Noren (CPO) - 3/11/19 Thank you! Questions?