Start
Entdecken
Suche senden
Hochladen
Einloggen
Registrieren
Anzeige
Jenkins Workflow Webinar - Dec 10, 2014
Melden
CloudBees
Folgen
CloudBees
15. Dec 2014
•
0 gefällt mir
11 gefällt mir
×
Sei der Erste, dem dies gefällt
Mehr anzeigen
•
3,601 Aufrufe
Aufrufe
×
Aufrufe insgesamt
0
Auf Slideshare
0
Aus Einbettungen
0
Anzahl der Einbettungen
0
Check these out next
From Continuous Integration to Continuous Delivery with Jenkins - javaland.de...
CloudBees
Rundeck + Nexus (from Nexus Live on June 5, 2014)
dev2ops
Continuous Delivery Pipeline with Docker and Jenkins
Camilo Ribeiro
SD DevOps Meet-up - Jenkins 2.0 and Pipeline-as-Code
Brian Dawson
Docker Enables DevOps
Boyd Hemphill
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Slawa Giterman
Building a Service Delivery Platform - JCICPH 2014
Andreas Rehn
Testing with Docker
toffermann
1
von
46
Top clipped slide
Jenkins Workflow Webinar - Dec 10, 2014
15. Dec 2014
•
0 gefällt mir
11 gefällt mir
×
Sei der Erste, dem dies gefällt
Mehr anzeigen
•
3,601 Aufrufe
Aufrufe
×
Aufrufe insgesamt
0
Auf Slideshare
0
Aus Einbettungen
0
Anzahl der Einbettungen
0
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Melden
Technologie
CloudBees
Folgen
CloudBees
Anzeige
Anzeige
Anzeige
Recomendados
Continuous Delivery with Jenkins Workflow
Udaypal Aarkoti
4.2K Aufrufe
•
9 Folien
Pimp your Continuous Delivery Pipeline with Jenkins workflow (W-JAX 14)
CloudBees
35.6K Aufrufe
•
41 Folien
Javaone 2014 - Git & Docker with Jenkins
Andy Pemberton
2.4K Aufrufe
•
16 Folien
Automated Deployment Pipeline using Jenkins, Puppet, Mcollective and AWS
Bamdad Dashtban
29.9K Aufrufe
•
22 Folien
Analyze This! CloudBees Jenkins Cluster Operations and Analytics
CloudBees
3.1K Aufrufe
•
61 Folien
CI and CD Across the Enterprise with Jenkins (devops.com Nov 2014)
CloudBees
10.1K Aufrufe
•
47 Folien
Más contenido relacionado
Presentaciones para ti
(20)
From Continuous Integration to Continuous Delivery with Jenkins - javaland.de...
CloudBees
•
3.8K Aufrufe
Rundeck + Nexus (from Nexus Live on June 5, 2014)
dev2ops
•
20.9K Aufrufe
Continuous Delivery Pipeline with Docker and Jenkins
Camilo Ribeiro
•
1.4K Aufrufe
SD DevOps Meet-up - Jenkins 2.0 and Pipeline-as-Code
Brian Dawson
•
3.1K Aufrufe
Docker Enables DevOps
Boyd Hemphill
•
24.2K Aufrufe
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Slawa Giterman
•
9K Aufrufe
Building a Service Delivery Platform - JCICPH 2014
Andreas Rehn
•
17.6K Aufrufe
Testing with Docker
toffermann
•
5.9K Aufrufe
Jenkinsconf Presentation - Advance jenkins management with multiple projects.
Ohad Basan
•
1.9K Aufrufe
Anatomy of a Build Pipeline
Samuel Brown
•
3.5K Aufrufe
At Your Service: Using Jenkins in Operations
Mandi Walls
•
8.4K Aufrufe
Continuous Development with Jenkins - Stephen Connolly at PuppetCamp Dublin '12
Puppet
•
33.3K Aufrufe
2016 Docker Palo Alto - CD with ECS and Jenkins
Tracy Kennedy
•
222 Aufrufe
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
Simon McCartney
•
2.6K Aufrufe
Continuous Delivery with Jenkins and Wildfly (2014)
Tracy Kennedy
•
41.1K Aufrufe
Using Docker for Testing
Carlos Sanchez
•
36.6K Aufrufe
Brujug Jenkins pipeline scalability
Damien Coraboeuf
•
2.9K Aufrufe
An Open-Source Chef Cookbook CI/CD Implementation Using Jenkins Pipelines
Steffen Gebert
•
5.3K Aufrufe
Jenkins days workshop pipelines - Eric Long
ericlongtx
•
1.8K Aufrufe
DevOps@Morpho for ParisDevOps - 2nd of December 2014
Jean-Charles JOREL
•
10.7K Aufrufe
Similar a Jenkins Workflow Webinar - Dec 10, 2014
(20)
Journée DevOps : De l'intégration continue au déploiement continu avec Jenkins
Publicis Sapient Engineering
•
2.6K Aufrufe
DockerCon 15 Keynote - Day 2
Docker, Inc.
•
20.2K Aufrufe
Continuos Integration and Delivery: from Zero to Hero with TeamCity, Docker a...
Lean IT Consulting
•
68 Aufrufe
Building Efficient Parallel Testing Platforms with Docker
Laura Frank Tacho
•
2K Aufrufe
Continuous Deployment To The Cloud @DevoxxPL 2017
Marcin Grzejszczak
•
1.3K Aufrufe
Containers, microservices and serverless for realists
Karthik Gaekwad
•
77.3K Aufrufe
Continuous Integration with Cloud Foundry Concourse and Docker on OpenPOWER
Indrajit Poddar
•
1K Aufrufe
Continuous Deployment of your Application @jSession#5
Marcin Grzejszczak
•
1.2K Aufrufe
Continuous Deployment of your Application - SpringOne Tour Dallas
VMware Tanzu
•
144 Aufrufe
London DevOps Meetup - PaaS as a platform for devops
Jeremy Brown
•
626 Aufrufe
Continuous Deployment of your Application @JUGtoberfest
Marcin Grzejszczak
•
1.5K Aufrufe
Containers and Microservices for Realists
Oracle Developers
•
1.7K Aufrufe
Containers and microservices for realists
Karthik Gaekwad
•
2.2K Aufrufe
DevOps with Azure, Kubernetes, and Helm Webinar
Codefresh
•
2.2K Aufrufe
Tour of Azure DevOps
Callon Campbell
•
576 Aufrufe
Enterprise CI as-a-Service using Jenkins
CollabNet
•
10.5K Aufrufe
.NET Cloud-Native Bootcamp
VMware Tanzu
•
746 Aufrufe
DevOps Fest 2020. Сергей Абаничев. Modern CI\CD pipeline with Azure DevOps
DevOps_Fest
•
151 Aufrufe
DevOps Days Boston 2017: Developer first workflows for Kubernetes
Ambassador Labs
•
1.3K Aufrufe
Welcome to Azure DevOps
Riccardo Cappello
•
111 Aufrufe
Anzeige
Más de CloudBees
(20)
JUC Europe 2015: Scaling Your Jenkins Master with Docker
CloudBees
•
835 Aufrufe
JUC Europe 2015: Plugin Development with Gradle and Groovy
CloudBees
•
431 Aufrufe
JUC Europe 2015: Multi-Node Environment as a Jenkins Slave (Compound-Slave)
CloudBees
•
516 Aufrufe
JUC Europe 2015: The Famous Cows of Cambridge: A Non-Standard Use Case for Je...
CloudBees
•
1.2K Aufrufe
JUC Europe 2015: Jenkins Made Easy
CloudBees
•
402 Aufrufe
JUC Europe 2015: Scaling of Jenkins Pipeline Creation and Maintenance
CloudBees
•
283 Aufrufe
JUC Europe 2015: From Virtual Machines to Containers: Achieving Continuous In...
CloudBees
•
310 Aufrufe
JUC Europe 2015: Hey! What Did We Just Release?
CloudBees
•
254 Aufrufe
JUC Europe 2015: Orchestrating Your Pipelines with Jenkins, Python and the Je...
CloudBees
•
480 Aufrufe
JUC Europe 2015: Jenkins Pipeline for Continuous Delivery of Big Data Projects
CloudBees
•
289 Aufrufe
JUC Europe 2015: Jenkins-Based Continuous Integration for Heterogeneous Hardw...
CloudBees
•
1.8K Aufrufe
JUC Europe 2015: Optimizing Your CI: Lessons Learned from a Successful Jenkin...
CloudBees
•
264 Aufrufe
JUC Europe 2015: Enabling Continuous Delivery for Major Retailers
CloudBees
•
203 Aufrufe
JUC Europe 2015: Bringing CD at Cloud-Scale with Jenkins, Docker and "Tiger"
CloudBees
•
289 Aufrufe
JUC Europe 2015: Making Strides towards Enterprise-Scale DevOps...with Jenkin...
CloudBees
•
157 Aufrufe
JUC Europe 2015: Evolving the Jenkins UI
CloudBees
•
252 Aufrufe
JUC Europe 2015: Using Infrastructure Nodes Wisely With Jenkins and Apache Mesos
CloudBees
•
278 Aufrufe
JUC Europe 2015: How to Optimize Automated Testing with Everyone's Favorite B...
CloudBees
•
261 Aufrufe
JUC 2015 - Keynote Address and Opening Remarks by Kohsuke Kawaguchi, Founder,...
CloudBees
•
349 Aufrufe
JUC Europe 2015: Continuous Integration and Distribution in the Cloud with DE...
CloudBees
•
293 Aufrufe
Último
(20)
Feng_Gao_Presentation.pdf
FabianToh2
•
0 Aufrufe
The Industrialist: Trends & Innovations - May 2023
accenture
•
0 Aufrufe
Wilab-NWDAF-datasheet.pdf
FabianToh2
•
0 Aufrufe
76075-technology powerpoint presentation ideas.pptx
MuhammadumairKhan74
•
0 Aufrufe
How to Unmute iPhone.pdf
syedmuneebhaider3
•
0 Aufrufe
Chapter One Method of Teaching.pptx
YoomifTube
•
0 Aufrufe
Top 12 Benefits of Automated Software Testing.pdf
RohitBhandari66
•
0 Aufrufe
Develop Blockchain App - Blocktech Brew
Blocktech Brew
•
0 Aufrufe
Multicore Stranded Conductor and Sheathed 450-750 V Fire Resistant Cables by ...
Karupaswamy1
•
0 Aufrufe
STRENGTH OF MATERIAL.pptx
MohdMeraj15
•
0 Aufrufe
bizhub C287i series
konicaUAE
•
0 Aufrufe
How Low-code is enabling Manufacturers to Reduce Costs and Drive Efficiency.pptx
RachanaJain20
•
0 Aufrufe
6+1 Technical Tips for Tech Startups (2023 Edition)
Ahmed Misbah
•
0 Aufrufe
LangChain Intro by KeyMate.AI
OzgurOscarOzkan
•
0 Aufrufe
在哪里可以办加拿大大学文凭《尼亚加拉学院毕业证成绩单仿制》
nukotk
•
0 Aufrufe
GAAD_EVENT_V3.pptx
SumanDamera1
•
0 Aufrufe
FME:23 for the Enterprise - A Deep Dive into Key New Features
Safe Software
•
0 Aufrufe
Framework for understanding quantum computing use cases from a multidisciplin...
Anastasija Nikiforova
•
0 Aufrufe
USO-HA-2U-Storage-Controllers-24-bay-4U-HA-RAID-array-and-12-bay-Storage-Expa...
FinnJohn2
•
0 Aufrufe
在哪里可以办英国大学文凭《英博夏尔大学毕业证成绩单仿制》
nukotk
•
0 Aufrufe
Anzeige
Jenkins Workflow Webinar - Dec 10, 2014
Orchestrating the Continuous
Delivery Process in Jenkins with Workflow ©2014 CloudBees, Inc. All Rights Reserved 1
Today’s Presenters Cyrille
Le Clerc Director, Product Management cleclerc@cloudbees.com @cyrilleleclerc Steve Harris SVP, Products sharris@cloudbees.com @stevengharris ©2014 CloudBees, Inc. All Rights Reserved 2
Using WebEx Questions?
Submit via the Q&A window at any time during the presentation. We will cover Q&A at the end of the presentation. Session is being recorded. ©2014 CloudBees, Inc. All Rights Reserved 3
Agenda • Con=nuous
Delivery • Jenkins & Con=nuous Delivery • Workflow in Jenkins Today • The New Jenkins Workflow Engine • Jenkins Workflow Syntax Card • Possible Futures ©2014 CloudBees, Inc. All Rights Reserved 4
Continuous Delivery ©2014
CloudBees, Inc. All Rights Reserved 5
Continuous Delivery •
“Reliable So+ware Releases through Build, Test, and Deployment Automa=on” • DONE = Shippable into Produc=on ©2014 CloudBees, Inc. All Rights Reserved 6
Continuous Integration Steps
Con$nuous Integra$on Source Code Quality Analysis Compile & Unit Tests Binaries ©2014 CloudBees, Inc. All Rights Reserved 7
Continuous Delivery Steps
Con$nuous Delivery DEV DEV QA OPS Source Code Quality Analysis Compile & Unit Tests Binaries Perfs Environment Func Test Environment UAT Environment Production Environment GO LIVE! Release! Staging Environment 8
Continuous Delivery Pipeline
Continuous Delivery Pipeline Compile & Unit Tests Perfs Tests Selenium Tests Deploy UAT Sonar Analysis Deploy Staging Deploy Production ©2014 CloudBees, Inc. All Rights Reserved 9
Jenkins: Hub of
Continuous Delivery • Connect the dots • It is the process Source Code Perfs Environment Func Test Environment UAT Environment Binaries Quality Analysis Compile & Unit Tests ©2014 CloudBees, Inc. All Rights Reserved 10
CI/CD with Jenkins
and Vagrant and Puppet puppet deployment module java code Dev Environment vagrant provision puppet apply war file + puppet manifests & modules petclinic.war Puppet Agent App. Server QA Environment petclinic.war Puppet Agent App. Server Prod Environment petclinic.war Puppet Agent App. Server war file + puppet manifests & modules Puppet Master Puppet Master OPS war file + puppet manifests & modules Jenkins builds war file and Puppet modules and deploys via Vagrant
CI/CD with Jenkins
and Vagrant and Puppet puppet deployment module java code Dev Environment notification vagrant provision puppet apply war file + puppet manifests & modules petclinic.war Puppet Agent App. Server QA Environment petclinic.war Puppet Agent App. Server Prod Environment petclinic.war Puppet Agent App. Server notification war file + puppet manifests & modules Puppet Master Puppet Master OPS war file + puppet manifests & modules Jenkins builds war file and Puppet modules and deploys via Vagrant
Jenkins – Puppet
Integration
CD Pipeline è
Workflow Continuous Delivery Pipeline Compile & Unit Tests Perfs Tests Selenium Tests Deploy UAT Sonar Analysis Deploy Staging Deploy Production ©2014 CloudBees, Inc. All Rights Reserved 14
What We Need
• Complex pipelines involving mul=ple stages • Non-‐sequen$al logic such as loops, forks … • Long-‐running builds must survive outages • Interac$ons with humans including pauses, input • Restartable builds in case of transient errors • Reusable defini$ons to avoid duplica=on • Comprehensible scripts with one clear defini=on ©2014 CloudBees, Inc. All Rights Reserved 15
Most Existing Workflow
In Jenkins Today • Job Chaining • Build Flow Plugin • Build Pipeline Plugin • Build Delivery Pipeline ©2014 CloudBees, Inc. All Rights Reserved 16
Most Existing Workflow
In Jenkins Today • Many atomic jobs • Hard to share variables/state between jobs • Limited logic • Mix build triggers, parameterized build … ©2014 CloudBees, Inc. All Rights Reserved 17
Jenkins Workflow Engine
©2014 CloudBees, Inc. All Rights Reserved 18
Simplifying Our Sample
Workflow Compile & Unit Tests Perfs Tests Selenium Tests Deploy UAT Sonar Analysis Deploy Staging Deploy Production ©2014 CloudBees, Inc. All Rights Reserved 19
Simplifying Our Sample
Workflow Compile & Unit Tests Perfs Tests Selenium Tests Deploy UAT Sonar Analysis Deploy Staging Deploy Production ©2014 CloudBees, Inc. All Rights Reserved 20
What We Need
• Complex pipelines involving mul=ple stages • Non-‐sequen$al logic such as loops, forks … • Long-‐running builds must survive outages • Interac$ons with humans including pauses, input • Restartable builds in case of transient errors • Reusable defini$ons to avoid duplica=on • Comprehensible scripts with one clear defini=on ©2014 CloudBees, Inc. All Rights Reserved 21
New Workflow Syntax
22
Production Release Available
NOW! • Jenkins OSS – Workflow 1.0 released December 3 • Beta out since May, with great, engaged feedback • Install Workflow: Aggregator in LTS 1.580.x or a later weekly release • Jenkins Enterprise by CloudBees – Automa=cally available as of the 14.11 release ©2014 CloudBees, Inc. All Rights Reserved 23
Demo Time! ©2014
CloudBees, Inc. All Rights Reserved 24
Key Features •
En=re flow is one concise Groovy script – For loops, try-‐finally, fork-‐join … • Can restart Jenkins while flow is running • Allocate slave nodes and workspaces – As many as you want, when you want • Stages throdle concurrency of builds • Human input/approval integrated into flow • Standard project concepts: SCM, ar=facts, plugins ©2014 CloudBees, Inc. All Rights Reserved 25
Groovy DSL vs.
Graphical Workflow • Familiar control flow construc=on • Familiar “tools” for building abstrac=ons Func=ons, classes, variables, … • Workflow in version control • As opposed to: Graphical workflow designer ©2014 CloudBees, Inc. All Rights Reserved 26
Project Setup •
One workflow is defined as a job • Single script for all steps • Build triggers & parameters like regular projects • Each workflow execu=on is a regular Jenkins build displayed in regular Jenkins views • Graphical visualiza=on of actual build possible Not of visualiza=on job defini=on but of build execu=on ©2014 CloudBees, Inc. All Rights Reserved 27
Non-Sequential Logic timeout(time:
300, unit: 'SECONDS') { } try {} catch {} ©2014 CloudBees, Inc. All Rights Reserved 28
Interaction with Humans
©2014 CloudBees, Inc. All Rights Reserved 29
Restartable Build /
Checkpoint ©2014 CloudBees, Inc. All Rights Reserved 30
Visualization ©2014 CloudBees,
Inc. All Rights Reserved 31
Stages • Semaphore
• Visualiza=on ©2014 CloudBees, Inc. All Rights Reserved 32
Comprehensible Scripts ©2014
CloudBees, Inc. All Rights Reserved 33
Workflow Syntax Card
©2014 CloudBees, Inc. All Rights Reserved 34
Workflow Syntax Card
• stage: Enter a new stage • node: Allocate node • ws: Allocate workspace • parallel: Execute sub-‐workflow in parallel • retry: Retry the body up to N =mes • catchError: Catch error and con=nue • timeout: Execute the body with a =meout • input: Input / human interac=on ©2014 CloudBees, Inc. All Rights Reserved 35
Workflow Syntax Card
• load: Evaluate a Groovy source file into the workflow script • step: General build step • sh: Shell script • bat: Windows batch script ©2014 CloudBees, Inc. All Rights Reserved 36
Workflow Syntax Card
• archive: Archive ar=facts • unarchive: Copy archived ar=fact into the workspace • echo: Print message • dir: Change directory • readFile: Read file from workspace • writeFile: Write file to workspace ©2014 CloudBees, Inc. All Rights Reserved 37
Workflow Syntax Card
• git: Git • svn: Subversion • scm: General SCM • tool: install a tool • build: Build a job ©2014 CloudBees, Inc. All Rights Reserved 38
Workflow Syntax Card
• checkpoint: capture the state of the execu=on so that it can be restarted later ©2014 CloudBees, Inc. All Rights Reserved 39
Possible Futures ©2014
CloudBees, Inc. All Rights Reserved 40
Possible Futures Probably
OSS • More plugin interoperability • Mul=-‐branch project (& SCM API) integra=on • More advanced SCM • In-‐IDE edi=ng support • Concise syntax ©2014 CloudBees, Inc. All Rights Reserved 41
Possible Futures Probably
CloudBees Jenkins Enterprise and Operations Center • More visualiza=ons • Validated merge integra=on • Deployment, incl. blue/green with rollback • Freestyle and/or Build Flow import • Templates integra=on ©2014 CloudBees, Inc. All Rights Reserved 42
Get The Code
• hdps://gist.github.com/cyrille-‐leclerc/0dc73659e6d2a92f014a – workflow.groovy • hdps://github.com/cyrille-‐leclerc/spring-‐petclinic/ ©2014 CloudBees, Inc. All Rights Reserved 43
More Workflow Resources
• Tutorial – hdps://github.com/jenkinsci/workflow-‐ plugin/blob/master/TUTORIAL.md • Jenkins Enterprise by CloudBees Workflow-‐related Func=onality – hdp://jenkins-‐enterprise.cloudbees.com/ docs/user-‐guide-‐docs/workflow.html • More webinars ©2014 CloudBees, Inc. All Rights Reserved 44
Cyrille Le Clerc
Director, Product Management cleclerc@cloudbees.com @cyrilleleclerc Steve Harris SVP, Products sharris@cloudbees.com @stevengharris ©2014 CloudBees, Inc. All Rights Reserved 45
©2014 CloudBees, Inc.
All Rights Reserved 46
Anzeige