continuous delivery with jenkins workflow

9
©2014 CloudBees, Inc. All Rights Reserved Udaypal Aarkoti Director, Solution Architecture CD with Jenkins Workflow

Upload: udaypal-aarkoti

Post on 07-Jun-2015

854 views

Category:

Software


2 download

DESCRIPTION

Continuous Delivery with Jenkins Workflow

TRANSCRIPT

Page 1: Continuous Delivery with Jenkins Workflow

©2014 CloudBees, Inc. All Rights Reserved 1 ©2014 CloudBees, Inc. All Rights Reserved

Udaypal Aarkoti Director, Solution Architecture

CD with Jenkins Workflow

Page 2: Continuous Delivery with Jenkins Workflow

©2014 CloudBees, Inc. All Rights Reserved 2

Early Jenkins Jobs

Page 3: Continuous Delivery with Jenkins Workflow

©2014 CloudBees, Inc. All Rights Reserved 3

Job Chaining

Page 4: Continuous Delivery with Jenkins Workflow

©2014 CloudBees, Inc. All Rights Reserved 4

Continuous Delivery

Page 5: Continuous Delivery with Jenkins Workflow

©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  

Page 6: Continuous Delivery with Jenkins Workflow

©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

Page 7: Continuous Delivery with Jenkins Workflow

©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

Page 8: Continuous Delivery with Jenkins Workflow

©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

Page 9: Continuous Delivery with Jenkins Workflow

©2014 CloudBees, Inc. All Rights Reserved 9

Questions?

Thank  You!