juc europe 2015: scaling of jenkins pipeline creation and maintenance

17
Jenkins World Tour 2015 London, UK, June 2015 1

Upload: cloudbees

Post on 15-Jan-2017

90 views

Category:

Technology


0 download

TRANSCRIPT

Jenkins World Tour 2015 London, UK, June 2015

1

#jenkinsconf

Scaling of Jenkins Pipelines

Damien Coraboeuf Clear2Pay

#jenkinsconf

Footer

Jungle of jobs

#jenkinsconf

Footer

Jungle of jobs

4

#jenkinsconf

Footer

Goals

•  Self service •  Security •  Simplicity •  Extensibility

5

#jenkinsconf

Footer

First steps

•  Self service •  Security •  Simplicity •  Extensibility

6

Job DSL plug-in

#jenkinsconf

Footer

Going forward

•  Self service •  Security •  Simplicity •  Extensibility

7

Most of the pipelines are the same

#jenkinsconf

Footer

Pipeline DSL library

8

#jenkinsconf

Footer

The Shopping List

•  No code – properties •  Pipeline library •  Pipeline version •  Configuration •  Extensions

9

#  Which  pipeline/version  to  use  seed.dsl.libraries  =  \        com.clear2pay.build:opf-­‐pipeline:1.2.0    #  Configuration  of  the  pipeline  pipeline.notification.ci  =  my-­‐dev-­‐list  pipeline.notification.qa  =  my-­‐qa-­‐list  pipeline.ci.platforms  =  wps70,wps85  pipeline.qa  =  yes    

#jenkinsconf

Footer

Pipeline as code

•  The shopping list lives with your branch •  Traceability + pipeline history

10

#jenkinsconf

Footer

How does it look like?

11

#jenkinsconf

Footer

Branches

12

#jenkinsconf

Footer

Branch pipeline

13

#jenkinsconf

Footer

Overview

#jenkinsconf

Footer

Responsibilities

15

#jenkinsconf

Footer 16

Out of the jungle…

#jenkinsconf

Footer

17

Thanks you! @DamienCoraboeuf https://wiki.jenkins-ci.org/display/JENKINS/Seed+Plugin