Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
jgcloudbees
5,557 views
Jenkins Workflow Summit London 2015: Kohsuke/Jesse slides
http://www.meetup.com/jenkinsmeetup/events/219967721/ slides from Kohsuke & Jesse
Technology
◦
Read more
10
Save
Share
Embed
Embed presentation
Download
Downloaded 88 times
1
/ 28
2
/ 28
3
/ 28
4
/ 28
5
/ 28
6
/ 28
7
/ 28
8
/ 28
9
/ 28
10
/ 28
11
/ 28
12
/ 28
13
/ 28
14
/ 28
15
/ 28
16
/ 28
17
/ 28
18
/ 28
19
/ 28
20
/ 28
21
/ 28
22
/ 28
23
/ 28
24
/ 28
25
/ 28
26
/ 28
27
/ 28
28
/ 28
More Related Content
PPTX
Jenkins days workshop pipelines - Eric Long
by
ericlongtx
PPTX
Jenkins Job DSL plugin
by
Nikita Bugrovsky
PDF
Idiomatic gradle plugin writing
by
Schalk Cronjé
PDF
Continuous Delivery of Puppet-Based Infrastructure - PuppetConf 2014
by
Puppet
PDF
XSLT and XPath - without the pain!
by
Bertrand Delacretaz
PDF
Down the Rabbit Hole: An Adventure in JVM Wonderland
by
Charles Nutter
PDF
Living with Garbage by Gregg Donovan at LuceneSolr Revolution 2013
by
Gregg Donovan
PDF
Super Charged Configuration As Code
by
Alan Beale
Jenkins days workshop pipelines - Eric Long
by
ericlongtx
Jenkins Job DSL plugin
by
Nikita Bugrovsky
Idiomatic gradle plugin writing
by
Schalk Cronjé
Continuous Delivery of Puppet-Based Infrastructure - PuppetConf 2014
by
Puppet
XSLT and XPath - without the pain!
by
Bertrand Delacretaz
Down the Rabbit Hole: An Adventure in JVM Wonderland
by
Charles Nutter
Living with Garbage by Gregg Donovan at LuceneSolr Revolution 2013
by
Gregg Donovan
Super Charged Configuration As Code
by
Alan Beale
Viewers also liked
PPTX
Track code quality with SonarQube
by
Dmytro Patserkovskyi
ODP
Jenkins 101: Continuos Integration with Jenkins
by
All Things Open
PDF
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
by
Puppet
PDF
Continuous Cross Platform Mobile App Development using Jenkins Build Server
by
Adam Paxton
PDF
Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)
by
Gareth Bowles
PDF
groovy and concurrency
by
Paul King
PPT
Jenkins Scriptler in 90mins
by
Larry Cai
PPTX
Juc west-how to build a jenkins db the wrong way!
by
Michael Barbine
PPTX
Los vatos
by
losvatoslocos
PDF
Synchronizing parallel delivery flows in jenkins using groovy, build flow and...
by
Andrey Devyatkin
PDF
Using Jenkins XML API
by
Anton Weiss
PDF
DevOps – SonarQube
by
Delta-N
PDF
Writing a Jenkins / Hudson plugin
by
Anthony Dahanne
PPTX
Jenkins Workflow - An Introduction
by
Ben Snape
PPTX
20160929 android taipei Sonatype nexus on amazon ec2
by
TSE-JU LIN(Louis)
PPT
Groovy Maven Builds
by
Evgeny Goldin
PDF
Continuous Development Pipeline
by
Izzet Mustafaiev
PDF
Building an Extensible, Resumable DSL on Top of Apache Groovy
by
jgcloudbees
PPTX
Maven Nexus
by
ericndunn
Track code quality with SonarQube
by
Dmytro Patserkovskyi
Jenkins 101: Continuos Integration with Jenkins
by
All Things Open
Continuous Infrastructure: Modern Puppet for the Jenkins Project - PuppetConf...
by
Puppet
Continuous Cross Platform Mobile App Development using Jenkins Build Server
by
Adam Paxton
Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)
by
Gareth Bowles
groovy and concurrency
by
Paul King
Jenkins Scriptler in 90mins
by
Larry Cai
Juc west-how to build a jenkins db the wrong way!
by
Michael Barbine
Los vatos
by
losvatoslocos
Synchronizing parallel delivery flows in jenkins using groovy, build flow and...
by
Andrey Devyatkin
Using Jenkins XML API
by
Anton Weiss
DevOps – SonarQube
by
Delta-N
Writing a Jenkins / Hudson plugin
by
Anthony Dahanne
Jenkins Workflow - An Introduction
by
Ben Snape
20160929 android taipei Sonatype nexus on amazon ec2
by
TSE-JU LIN(Louis)
Groovy Maven Builds
by
Evgeny Goldin
Continuous Development Pipeline
by
Izzet Mustafaiev
Building an Extensible, Resumable DSL on Top of Apache Groovy
by
jgcloudbees
Maven Nexus
by
ericndunn
Recently uploaded
PDF
Usage Control for Process Discovery through a Trusted Execution Environment
by
ValerioGoretti
PDF
Security Technologys: Access Control, Firewall, VPN
by
ShielaLasala
PPTX
Basics of Identity Access Management In mordern Infrastructure
by
PrinceXavier18
PDF
Decoding the DNA: The Digital Networks Act, the Open Internet, and IP interco...
by
CSUC - Consorci de Serveis Universitaris de Catalunya
PDF
DIGITAL FORENSICS - Notes for Everything.pdf
by
pankajkumavatbeit
PDF
Making Sense of Raster: From Bit Depth to Better Workflows
by
Safe Software
PDF
Unser Jahresrückblick – MarvelClient in 2025
by
panagenda
PDF
Guided Substation Engineering with CoMPAS: Simplifying IEC 61850
by
DanBrown980551
PDF
How Mobile Apps Are Shaping the Future of Digital Innovation
by
William Taylor
PDF
Empowering Productivity with Clever Prompts and Intelligent Agents
by
Uni Systems S.M.S.A.
PDF
AI and Computer Architecture: 200 Years Together
by
Dmitry Zinoviev
PDF
Vibe Coding vs. Spec-Driven Development [Free Meetup]
by
Haim Michael
PPTX
The Future of IT Service Management AI Automation & Beyond.pptx
by
Chetu
PDF
Safeguarding AI-Based Financial Infrastructure
by
Yasir Naveed Riaz
PDF
December Patch Tuesday
by
Ivanti
PDF
8 LLM Surveys https://tinyurl.com/bdz8e6fp
by
Bob Marcus
PDF
eResource Scheduler Enterprise Resource Management and Scheduling Software.pdf
by
eResource Scheduler
PDF
Top Cybersecurity Threats 2025 Guide by Sureshdas
by
Printersassist
PDF
Recursive Self Improvement vs Continuous Learning
by
Bob Marcus
PDF
Greetings All Students Update 3 by Mia Corp
by
©LDMMIA, ©Reiki Yoga
Usage Control for Process Discovery through a Trusted Execution Environment
by
ValerioGoretti
Security Technologys: Access Control, Firewall, VPN
by
ShielaLasala
Basics of Identity Access Management In mordern Infrastructure
by
PrinceXavier18
Decoding the DNA: The Digital Networks Act, the Open Internet, and IP interco...
by
CSUC - Consorci de Serveis Universitaris de Catalunya
DIGITAL FORENSICS - Notes for Everything.pdf
by
pankajkumavatbeit
Making Sense of Raster: From Bit Depth to Better Workflows
by
Safe Software
Unser Jahresrückblick – MarvelClient in 2025
by
panagenda
Guided Substation Engineering with CoMPAS: Simplifying IEC 61850
by
DanBrown980551
How Mobile Apps Are Shaping the Future of Digital Innovation
by
William Taylor
Empowering Productivity with Clever Prompts and Intelligent Agents
by
Uni Systems S.M.S.A.
AI and Computer Architecture: 200 Years Together
by
Dmitry Zinoviev
Vibe Coding vs. Spec-Driven Development [Free Meetup]
by
Haim Michael
The Future of IT Service Management AI Automation & Beyond.pptx
by
Chetu
Safeguarding AI-Based Financial Infrastructure
by
Yasir Naveed Riaz
December Patch Tuesday
by
Ivanti
8 LLM Surveys https://tinyurl.com/bdz8e6fp
by
Bob Marcus
eResource Scheduler Enterprise Resource Management and Scheduling Software.pdf
by
eResource Scheduler
Top Cybersecurity Threats 2025 Guide by Sureshdas
by
Printersassist
Recursive Self Improvement vs Continuous Learning
by
Bob Marcus
Greetings All Students Update 3 by Mia Corp
by
©LDMMIA, ©Reiki Yoga
Jenkins Workflow Summit London 2015: Kohsuke/Jesse slides
1.
©2015 CloudBees, Inc.
All Rights Reserved©2015 CloudBees, Inc. All Rights Reserved Workflow in Jenkins Kohsuke Kawaguchi / CTO, CloudBees, Inc. kk@kohsuke.org / @kohsukekawa Jesse Glick / Developer, CloudBees, Inc. @tyvole
2.
©2015 CloudBees, Inc.
All Rights Reserved
3.
©2015 CloudBees, Inc.
All Rights Reserved Use Cases: orchestrated activities • Multi-stage continuous deployment pipeline • Run part of build with a temporary server • Blue/green deployment + auto commit/abort • Parallel tests with automatic sharding • Automatic per-branch jobs (à la Literate)
4.
©2015 CloudBees, Inc.
All Rights Reserved Characteristics • Complex pipelines involving multiple stages • Non-sequential logic such as loops and forks • Long-running builds must survive outages • Interaction with humans pauses, input • Restartable builds in case of a transient error • Reusable definitions to avoid duplication • Comprehensible scripts one clear definition
5.
©2015 CloudBees, Inc.
All Rights Reserved
6.
©2015 CloudBees, Inc.
All Rights Reserved
7.
©2015 CloudBees, Inc.
All Rights Reserved
8.
©2015 CloudBees, Inc.
All Rights Reserved node('linux') { stage 'Dev' git 'https://github.com/me/app.git' sh "${tool 'Maven 3'}/bin/mvn install" parallel regr: {sh './regression-test.sh'}, perf: {sh './performance-test.sh'} input 'All set?' stage name: 'Prod', concurrency: 1 sh './deploy.sh' }
9.
©2015 CloudBees, Inc.
All Rights Reserved Key features (what I already covered) • Entire flow is one concise Groovy script – for-loops, try-finally, fork-join, etc. • Can restart Jenkins while flow is running • Human input/approval integrated into flow
10.
©2015 CloudBees, Inc.
All Rights Reserved More key features • Allocate slave nodes and workspaces – as many as you like, when you like • Standard project concepts: SCM, artifacts, …
11.
©2015 CloudBees, Inc.
All Rights Reserved Design: workflow in VCS (1) • Load the script from another file • In repository node { git 'https://github.com/acme/foo.git' load 'jenkins.groovy' } pom.xml src jenkins.groovy ...
12.
©2015 CloudBees, Inc.
All Rights Reserved Design: workflow in VCS (2) • Load the whole script from repository • Job definition contains no Groovy
13.
©2015 CloudBees, Inc.
All Rights Reserved Design: workflow in VCS (3) • Shared workflow scripts/utilities in Git • Your job just needs to have this Git org.acme.MyWorkflow.run(this)
14.
©2015 CloudBees, Inc.
All Rights Reserved Stages (aka James Nord operator) • Pipeline throttling primitive • Special semaphore: only newest build may wait time builds build build build selenium tests selenium tests selenium tests build selenium tests deployment deployment build build selenium tests deployment all but deployment phase runs in parallel deployment still runs as fast as it can canceled
15.
©2015 CloudBees, Inc.
All Rights Reserved Build #153Build #153
16.
©2015 CloudBees, Inc.
All Rights Reserved foo() void foo() { try { sh 'sleep 1h' } finally { sh 'rm -rf *.tmp' } }
17.
©2015 CloudBees, Inc.
All Rights Reserved Resumption of Groovy flows • Transformed to “continuation-passing style” • Run on custom interpreter of Groovy – on master; includes security checks • State of program saved at each pause point • Variables serialized and restored after restart
18.
©2015 CloudBees, Inc.
All Rights Reserved Resumed builds to the user • It “just works” • (Serializable) local variables restored too • Shell-like steps survive restart – Reconnection of slave, too
19.
©2015 CloudBees, Inc.
All Rights Reserved
20.
©2015 CloudBees, Inc.
All Rights Reserved Jenkins Enterprise by CloudBees • CloudBees’ value-added Jenkins distro – Support & additional plugins • Resume from checkpoint – Can pick up artifacts from original build – No need to rerun earlier expensive steps • Visualization – “Stage” view of pipelines – More planned later • Templates – Define script in template, use attributes
21.
©2015 CloudBees, Inc.
All Rights Reserved Demo
22.
©2015 CloudBees, Inc.
All Rights Reserved Still to come • more plugin integrations • lots of little RFEs & bugs • easier script syntax, editing • workspace management • multibranch projects? • matrix project equivalent? • much more, tracked in JIRA
23.
©2015 CloudBees, Inc.
All Rights Reserved Status • Open for contribution • github.com/jenkinsci/workflow-plugin • 1.3 current release • Requires Jenkins 1.580.x+ today • Under active development
24.
©2015 CloudBees, Inc.
All Rights Reserved Summary • Simplifies complex orchestration • Define everything in single job • Workflow as Groovy code • Survives JVM loss, and even restartable • Extensible • github.com/jenkinsci/workflow-plugin
25.
©2015 CloudBees, Inc.
All Rights Reserved
26.
©2015 CloudBees, Inc.
All Rights Reserved Design: flows • persistent record of execution • directed acyclic graph of nodes • some nodes represent one step • others indicate block start/stop structure • nodes may have associated metadata – console log fragment contributes to main log • pluggable visualizations for different views
27.
©2015 CloudBees, Inc.
All Rights Reserved Design: steps • standalone API for asynchronous build steps • context serves as an identifier & callback – also offers logger, build, workspace, &c. • support for block-structured steps – invoke body 0+ times with revised context • standard step for “durable” shell/batch scripts • standard steps for SCMs (git, svn, other) – >1 SCM per build possible
28.
©2015 CloudBees, Inc.
All Rights Reserved Design: interoperability • run on existing Jenkins slaves • SCM plugins supported with modest changes • some existing build steps & publishers – “build wrappers” coming (1.599+) • trigger existing jobs • standard build history, artifacts • needs Jenkins 1.580.x or later – features factored out of standard projects
Download