Top Banner
Welcome to Jenkinsmeetup Fredrik Andersson, Configuration Manager and leader in Continuous delivery and DevOps on Arbetsformedlingen. [email protected] Ulf Hedlund, developer and Configuration Manager
12

Jenkins meetup170315

Mar 22, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Jenkins meetup170315

Welcome to Jenkinsmeetup

• Fredrik Andersson, Configuration Manager and leader in Continuous delivery and DevOps on Arbetsformedlingen. [email protected]

• Ulf Hedlund, developer and Configuration Manager

Page 2: Jenkins meetup170315

Arbetsförmedlingen and its IT:

• Arbetsförmedlingen– 14000 employees in total– 280 offices

• IT: – 650 employees– 4 offices, – 25 development teams

• Currently on a ”journey of renewal” to genuinely improve public confidence

• IT operations and development – Project initiatives PPS– Product maintenance (Förvaltning) PM3– Going toward product lifecycle

management

• 200-250 applications, much inhouse– Going towards more standard and

sourcing

Page 3: Jenkins meetup170315

Continuous Delivery Initiative

Tools

• 15 Private Jenkins• Some got ”lost”

WoW

• Project based development• WaterScrumFalls at best• Start with CD: Continuous Integration

Culture

• Focus on develop new features• One way of working

New Tool

• Jenkins Enterprise• Pipelines, templates, RBAC, Folders

Tools

• Jenkins Enterprise• 2 Masters, 25 executors, 2000 daily builds

• CI, Testauto, Deploy

WoW

• Continuous Delivery• Easier onboarding• Crossfunctional Teams, incl Product owners

Culture

• Decentralized responsibilities• Take control over your pipeline

Forward

• Delegate pipeline ownership• .Net

Starting in 2014 Now

Page 4: Jenkins meetup170315

Where we used to be – A lot of Jenkins ”islands”

Jenkins1

Jenkins 2

Jenkins N

Team ATeam BTeam C

Team DTeam E Team F

Page 5: Jenkins meetup170315

Our wish – Consolidation

Jenkins

Team ATeam BTeam C

Team DTeam E Team F

We wanted to achieve:• A unified building process• An easier way to support many teams

How Jenkins Enterprise helped us:• Job Templates• Builder Templates• Folders• Role-Based Access Control

Page 6: Jenkins meetup170315

How our templates began to form…

A standard Jenkins job

Clone from Git

New Artifact Version

Build and Test

Create and Push Tag

config.xmlwith

parameters

A generic Job Template

Clone from Git

New Artifact Version

Build and Test

Create and Push Tag

Job 1Parameters

Job 2Parameters

Page 7: Jenkins meetup170315

Refactoring templates - ReusabilityA generic Job Template 1

Clone from Git

New Artifact Version

Build and Test

Create and Push Tag

A generic Job Template 2

Clone from Git

New Artifact Version

Build and Test Differently

Create and Push Tag

Builder TemplateNew Artifact Version

Builder TemplateCreate and Push Tag

Page 8: Jenkins meetup170315

Pipelines for integration tests and deployment

Job Template 1

Builder Template 1

Builder Template 2

Job 1

Parameters

Docker SoapUIDocker Nexus Deploy

TestEnvSoapUITestEnv Etc…

Page 9: Jenkins meetup170315

Pipelines visualization in Jenkins Enterprise

Page 10: Jenkins meetup170315

Configuration for a job

• Jobspecific parameters

Page 11: Jenkins meetup170315

Jenkins – What’s next for us?

• Jenkinsfile – Pipeline as Code– More flexibility for teams who are self-sufficient

• Enable more operational aspects on the Jenkins service– Offer the right things for the teams

Page 12: Jenkins meetup170315

Work for us!

• https://www.arbetsformedlingen.se/Om-oss/Jobba-hos-oss.html• If you are about to do thesis work or is interested in working with IT at

Arbetsförmedlingen send your letter and CV to [email protected]