More Related Content Similar to Webinar: "Continuous Delivery with Jenkins" (20) More from Emerasoft, solutions to collaborate (20) Webinar: "Continuous Delivery with Jenkins"1. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
Continous Delivery with Jenkins
Maria Chiara Ambrosio - Emerasoft
Valentina Armenise -CloudBees
2. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
Emerasoft
2
3. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Chi siamo?
3
Data di nascita: 2005
Dove siamo:
ü via Po, 1 – Torino
ü via del Poggio Laurentino, 118 - Roma
La nostra mission:
Creare valore per i nostri clienti
implementando soluzioni
che aumentano la produttività,
facilitando la collaborazione.
4. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Testing solutions
Training: Emerasoft niversity
Ambiti
4
7. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Contenuti disponibili su:
• Canale slideshare di Emerasoft
• Canale Youtube Emerasoft
• www.emerasoft.com
Q&A ?
What’s next?
7
8. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
8
Contatti
Emerasoft Srl
via Po, 1 – 10124 Torino
via del Poggio Laurentino, 118 – 00144 Roma
T +39 011 0120370
T +39 06 87811323
F +39 011 3710371
www.emerasoft.com
sales@emerasoft.com
9. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
CloudBees
9
10. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
About CloudBees
10
Who are we? We are the premier provider of Jenkins
Continuous Integration services and support!
What do we
do with
Jenkins?
We optimize Jenkins for the enterprise
• Operations Center
• Jenkins OSS Support
• Enterprise-class plugins
• Commit code and support the Jenkins
Community
• Jenkins Training & Consulting
• Jenkins User Conferences & Newsletters
…we are the Jenkins Enterprise experts!
11. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
CloudBees Solutions for Jenkins
11
• Jenkins Enterprise
by CloudBees
• Jenkins Operations
Center
Dev@Cloud Dev@Cloud
Hybrid
On-premise In the Cloud Hybrid
No matter how you use Jenkins!
12. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Representative CloudBees Customers
12
Financial
Services
Technology Retail Consumer Embedded
13. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
Jenkins Enterprise by
CloudBees
13
Enterprise Plugins and support for OSS
14. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Jenkins Enterprise by CloudBees
14
Professional Support
High availability
Large Installations
Security
Optimized Utilization
15. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Jenkins Enterprise by CloudBees
15
Enterprise
Plugins
Professional Support
Jenkins OSS Community Plugins
Jenkins Community
16. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Jenkins Enterprise by CloudBees Plugins
16
High
Availability
• High
Availability
• Long Running
Builds
• Restart
Aborted
Builds
Large
Installation
• Backup
Scheduling
• Consolidated
Build View
• Custom Update
Center
• Folders
• Folders Plus
• Plugin Usage
• Nodes Plus
• Support plugin
• Templates
• Validated
Merge
Security
• Role-based
Access
Control
(RBAC)
• Secure Copy
• WikiText
Descriptions
Optimized
Utilization
• Even Load
Strategy
• Fast Archiver
• Label
Throttled Build
Execution
• NIO SSH
Slaves
• Skip Next
Build
• VMware ESXi/
vSphere Auto-
Scaling
Continuous
Delivery
• Workflow
• Workflow
Stage View
• Checkpoints
17. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Jenkins High Availability
17
Jenkins Enterprise Master-1
Jenkins Enterprise Master-N
HA Proxy
Jenkins
Enterprise
Master-N
Jenkins
Enterprise
Master-1
HA Proxy
NAS Storage
NAS Storage
backup
backup
…
18. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Security – Role Based Access Control
18
mobile team jobs
android-on-git-push
android-nightly-sonar
android-release
www team jobs
www-on-git-push
www-nightly-sonar
www-release
mobile team
john bas
www team
cyrille
admin team
admin
19. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Large Installations– Template
19
Builder Template
• The same script is used across a large set
of jobs and only differ by few attributes.
• Maintaining such scripts and avoiding
copy/paste mistakes can be a nightmare
on large Jenkins installations.
Builder
Template
…
Jenkins job 1
Script-1
Script-1
Job Template
• The Job template can be used for Jobs
which are similar and share the same
configuration
• No need to maintain those separatly: all
the changes made to the template will
be replicated automatically to the jobs
Jenkins job 1 Jenkins job 2
Jenkins job 1
Script-1
Job template
20. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
The Workflow plugin
20
• Programmatic: Build pipelines that are
– Complex/Non-sequential
o Adapt to intra-org software delivery
flows
– Long running
o Run in days
– Pausable
o Wait for human input. Build Continuous
Delivery or Deployment flows
– Restart-able
o Recover from master and slave failures
o Recover from check-points. Save days
of effort by not starting a pipeline from
the beginning.
• OSS
– No vendor lock-in.
• Extensible
– Plug into standard or custom deployment
tools
• Programmatic
– Groovy DSL
– One job to build pipelines
– Loops, try/finally
– Native support for
pipelines
• OSS
– Workflow engine in OSS
• Extensible
– Build extensions to custom
tools
21. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Workflow in JEBC
21
What is it? How does it help me?
Checkpoints
Restart workflows
- Eliminate schedule slips due to master
and slave failures
- Run long running pipelines that survive
Jenkins and infrastructure failures
Workflow Stage View
Visualize Delivery Pipelines
- Developers can see how far their
commits have gone in the pipeline
- Managers can see how the release
value stream map performs
- Visualize Pipeline
- See stages executed in a run
- Easily pin-point errors
- Easily see stages paused for
human input
- Easy access to a stage’s log
- Easy access to generated artifacts
- Restart check-pointed runs
23. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
Demo Use Case
23
25. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Roled Based Matrix Authorization Strategy
25
27. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Pipeline Implemented with Workflow
• Checkout the source code from the repo
• Create the package and deploy to maven
repository
• Source code Analysis with Sonar
• Deploy to Perfs
• Jmeter Tests in Test Env
• Deploy to QA
o Does this look good?
• Deploy to Staging Env
27
28. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
The Workflow Pipeline
28
Authenticated
QA
29. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Release of the Artifact
• Secured and executable only by Dev-Ops
• Ad-hoc job
• RBAC and Folder Plugin
• Maven release: prepare perform
29
30. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
Demo Time
30
31. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
Jenkins Operations Center by
CloudBees
31
32. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Professional support
Jenkins Operations@Scale
Share slaves between masters
Centralized Ops & Management
Ensure security compliance
Ensure plugin version compliance
Jenkins Enterprise by CloudBees
Jenkins Operations Center by CloudBees
33. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved
Summary and Next Steps
33
34. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
§ CloudBees is the leading authority on Jenkins and CI
§ CloudBees offers several Jenkins solutions to fit your needs
§ On-premise
§ In the cloud
§ Hybrid
§ Jenkins Enterprise by CloudBees offers
§ Professional support
§ Enterprise-class plugins
§ Jenkins Operations Center by CloudBees offers
§ Centralized management and analytics
§ Horizontal scaling
§ Lowered capex by sharing slaves
§ DEV@cloud
§ Jenkins in the cloud for maximum elasticity and scalability
§ Hybrid mode to leverage on-premise resources
Summary
35. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
• Try a 30-day evaluation
– Jenkins Enterprise by CloudBees
– Jenkins Operations Center by CloudBees
• cloudbees.com/jenkins
• Find user guides and videos
– https://developer.cloudbees.com/bin/view/Jenkins+Enterprise/WebHome
• Tutorial
– http://operations-center.cloudbees.com/docs/operations-center-docs-1.1/
tutorial.html
What’s next?
36. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
Up-level your Jenkins Knowledge, Network with Community
Experts at a JUC:
• JUC Cities/Dates
– East Coast US (Washington, DC): June 18-19
– Europe (London): June 23-24
– Israel: July (TBD)
– West Coast US (San Francisco): September 3-4
• Apply to Speak at JUC
https://www.cloudbees.com/jenkins-user-conference-call-papers
• Sponsor JUC
https://www.cloudbees.com/2015-juc-and-cd-summit-world-tour-sponsorships
36
2015 Jenkins User Conference (JUC) World Tour
37. ©
2015
CloudBees,
Inc.
All
Rights
Reserved
©
2015
CloudBees,
Inc.
All
Rights
Reserved