continuous delivery with jenkins workflow
DESCRIPTION
Continuous Delivery with Jenkins WorkflowTRANSCRIPT
©2014 CloudBees, Inc. All Rights Reserved 1 ©2014 CloudBees, Inc. All Rights Reserved
Udaypal Aarkoti Director, Solution Architecture
CD with Jenkins Workflow
©2014 CloudBees, Inc. All Rights Reserved 2
Early Jenkins Jobs
©2014 CloudBees, Inc. All Rights Reserved 3
Job Chaining
©2014 CloudBees, Inc. All Rights Reserved 4
Continuous Delivery
©2014 CloudBees, Inc. All Rights Reserved 5
5.37%
47.81%
14.95%
48.37%
38.47%
64.07%
86.42%
95.19%
Other
Deployment
Opera;on
Release
Batch Tasks
Code Quality Analysis
Test
Build
What types of tasks do you use Jenkins for?
Source: 2012 Jenkins Survey
©2014 CloudBees, Inc. All Rights Reserved 6
• Copy artifacts plugin • Parameterized Trigger plugin • Build Flow plugin – Does not survive restarts
• Job DSL plugin
Existing plugins
©2014 CloudBees, Inc. All Rights Reserved 7
• Complex pipeline – Involving multiple stages • Non-sequential – Loops, forks, parallelize • Long running builds – Survive outages • Human interaction – Manual approval • Re-startable builds – Resume builds • Reusable definitions – Capture entire workflow
Workflow Characteristics
©2014 CloudBees, Inc. All Rights Reserved 8
• Based on Groovy • Entire workflow captured • Familiar control flow– Loops, Forks, try-finally • Multiple stages – Throttle concurrency • Integrated Human input / approval • Standard project concepts – SCM, artifacts
Workflow Features
©2014 CloudBees, Inc. All Rights Reserved 9
Questions?
Thank You!