SlideShare a Scribd company logo
1 of 27
Download to read offline
Continuous Delivery – Focus on Continuous Integration 
TESTING FORUM 2014 
August 26 2014, Talentum Events
Scania engineers 
• Anders Lundsgård 
– 4 years as Consultant 
– 6 years at Scania 
• Release Responsible 
• Integrator 
• Architect 
• Peter Sandberg 
– 7 years at ABB & Ericsson 
– 3 years at Scania 
• Test Leading 
• Test Automation 
• Scrum Master
Agile what? 
Waterfall 
”Agile” 
Continuous Integration 
Continuous Delivery 
DevOps
“Agile” 
© Bestoutcome Ltd 2014 
Project planning 
Last mile
Agile what? 
Waterfall 
”Agile” 
Continuous Integration 
Continuous Delivery 
DevOps 
Agile teams within the Enterprise An Agile Enterprise
Continuous Delivery Release 
Quality
Smartphone access 
to driver/vehicle 
data 
Scania Connected Services 
MP MP 
FMP 
Monitoring 
Report 
Communication 
Servers 
Web Servers 
Email and 
SMS 
remiders/ 
alarms 
Fleet 
Management 
Portal 
Remote Diagnosis 
Current status message 
every minute 
Web Service 
Interface 
FMP
Key concepts for Continuous Delivery 
• Test Driven Development 
• Deployment Pipeline 
• Continuous Integration 
• Feature Toggles 
• Configuration Management 
• A/B tests 
• Always On 
• Tear the walls 
Technical 
patterns 
Cultural 
changes
QA in ContinQuAous Delivery
Test Pyramid 
Manual 
”inspection” 
GUI 
Tests 
Integration Tests 
Unit Tests
What gives quality? 
I’m Done!
Test ice-cream cone 
Manual Regression 
GUI Tests 
Integration Tests 
Unit 
Tests
Our test movement 
Communication via error reports Communication face to face 
GUI-oriented tests Tests towards service layer 
Tests executed in desktop 
environment 
Tests into the Deployment Pipeline 
Test specific dev environment Same dev environment as developers 
Separated test teams Embedded testers
Deployment Pipeline
Deployment Pipeline 
Commit Stage Acceptance Stage Load Stage Deploy Stage 
Compile Unit Test Analysis Packaging Acc. 
Deploy 
Acc. Tests Exploraty 
Tests 
Load 
Tests 
Perf 
Tests 
Staging 
Deploy 
Prod 
Deploy 
... 
.. 
…..
Deployment Pipeline 
Commit Stage Acceptance Stage Load Stage Deploy Stage 
Compile Unit Test Analysis Packaging Acc. 
Deploy 
Acc. Tests Exploraty 
Tests 
Load 
Tests 
Perf 
Tests 
Staging 
Deploy 
Prod 
Deploy 
... 
.. 
…..
Claim culture
Continuous Integration 
• Maintain a Single Source Repository 
• Automate the Build 
• Make Your Build Self-Testing 
• Everyone Commits To the Mainline Every Day 
• Every Commit Should Build the Mainline on an 
Integration Machine 
• Keep the Build Fast 
• Test in a Clone of the Production Environment 
• Make it Easy for Anyone to Get the Latest Executable 
• Everyone can see what's happening 
• Automate Deployment
Feature Branch 
Dev Branch #1 
Main 
Release Branch #1 
Dev Branch #2
Feature Toggle 
GUI 
Business 
Main 
Logic 
Database
Continuous Delivery with focus on CI - Scania Connected Services - Talentum Events 2014
Continuous Delivery with focus on CI - Scania Connected Services - Talentum Events 2014
Continuous Delivery with focus on CI - Scania Connected Services - Talentum Events 2014
Google Trends 
DevOps 
Continuous 
Integration 
Continuous 
Delivery 
The Lean 
Startup
Challenge – to you tester 
Code your first test and see it 
execute in the CI environment 
If there is no CI environment. Suggest 
to create one!
Resources 
www.continuousdelivery.eu 
ISBN-13:978-0321601919
Contact 
• Peter Sandberg 
– peter.sandberg@scania.com 
• Anders Lundsgård 
– anders.lundsgard@scania.com 
– @anderslundsgard

More Related Content

More from Anders Lundsgård

The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...
The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...
The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...Anders Lundsgård
 
BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...
BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...
BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...Anders Lundsgård
 
The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017
The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017
The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017Anders Lundsgård
 
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016Anders Lundsgård
 
The DevOps journey in an Enterprise - Continuous Lifecycle London 2016
The DevOps journey in an Enterprise - Continuous Lifecycle London 2016The DevOps journey in an Enterprise - Continuous Lifecycle London 2016
The DevOps journey in an Enterprise - Continuous Lifecycle London 2016Anders Lundsgård
 
Always On - Zero Downtime releases
Always On - Zero Downtime releasesAlways On - Zero Downtime releases
Always On - Zero Downtime releasesAnders Lundsgård
 
DevOps @ Scania - Perforce on Tour, Berlin 2015
DevOps @ Scania - Perforce on Tour, Berlin 2015DevOps @ Scania - Perforce on Tour, Berlin 2015
DevOps @ Scania - Perforce on Tour, Berlin 2015Anders Lundsgård
 
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...Anders Lundsgård
 
DevOps @ Scania - Trust and some code - NFI Testforum 2015
DevOps @ Scania - Trust and some code - NFI Testforum 2015DevOps @ Scania - Trust and some code - NFI Testforum 2015
DevOps @ Scania - Trust and some code - NFI Testforum 2015Anders Lundsgård
 

More from Anders Lundsgård (9)

The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...
The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...
The Cloud journey in an Enterprise - Delivery of Things World - Berlin April ...
 
BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...
BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...
BizDevOps Transformation, Metrics and Microservices at Scania, June 2017 in L...
 
The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017
The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017
The DevOps Journey in an Enterprise, Scania - Delivery Of Things World 2017
 
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016
The DevOps journey in an Enterprise - Scania @ Swisscom software day 2016
 
The DevOps journey in an Enterprise - Continuous Lifecycle London 2016
The DevOps journey in an Enterprise - Continuous Lifecycle London 2016The DevOps journey in an Enterprise - Continuous Lifecycle London 2016
The DevOps journey in an Enterprise - Continuous Lifecycle London 2016
 
Always On - Zero Downtime releases
Always On - Zero Downtime releasesAlways On - Zero Downtime releases
Always On - Zero Downtime releases
 
DevOps @ Scania - Perforce on Tour, Berlin 2015
DevOps @ Scania - Perforce on Tour, Berlin 2015DevOps @ Scania - Perforce on Tour, Berlin 2015
DevOps @ Scania - Perforce on Tour, Berlin 2015
 
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
 
DevOps @ Scania - Trust and some code - NFI Testforum 2015
DevOps @ Scania - Trust and some code - NFI Testforum 2015DevOps @ Scania - Trust and some code - NFI Testforum 2015
DevOps @ Scania - Trust and some code - NFI Testforum 2015
 

Recently uploaded

ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8
ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8
ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8Access Innovations, Inc.
 
Juan Pablo Sugiura - eCommerce Day Bolivia 2024
Juan Pablo Sugiura - eCommerce Day Bolivia 2024Juan Pablo Sugiura - eCommerce Day Bolivia 2024
Juan Pablo Sugiura - eCommerce Day Bolivia 2024eCommerce Institute
 
Communication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptxCommunication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptxkb31670
 
Burning Issue presentation of Zhazgul N. , Cycle 54
Burning Issue presentation of Zhazgul N. , Cycle 54Burning Issue presentation of Zhazgul N. , Cycle 54
Burning Issue presentation of Zhazgul N. , Cycle 54ZhazgulNurdinova
 
Machine learning workshop, CZU Prague 2024
Machine learning workshop, CZU Prague 2024Machine learning workshop, CZU Prague 2024
Machine learning workshop, CZU Prague 2024Gokulks007
 
Dynamics of Professional Presentationpdf
Dynamics of Professional PresentationpdfDynamics of Professional Presentationpdf
Dynamics of Professional Presentationpdfravleel42
 
The Real Story Of Project Manager/Scrum Master From Where It Came?!
The Real Story Of Project Manager/Scrum Master From Where It Came?!The Real Story Of Project Manager/Scrum Master From Where It Came?!
The Real Story Of Project Manager/Scrum Master From Where It Came?!Loay Mohamed Ibrahim Aly
 
Communication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptxCommunication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptxkb31670
 

Recently uploaded (8)

ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8
ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8
ISO 25964-1Working Group ISO/TC 46/SC 9/WG 8
 
Juan Pablo Sugiura - eCommerce Day Bolivia 2024
Juan Pablo Sugiura - eCommerce Day Bolivia 2024Juan Pablo Sugiura - eCommerce Day Bolivia 2024
Juan Pablo Sugiura - eCommerce Day Bolivia 2024
 
Communication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptxCommunication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptx
 
Burning Issue presentation of Zhazgul N. , Cycle 54
Burning Issue presentation of Zhazgul N. , Cycle 54Burning Issue presentation of Zhazgul N. , Cycle 54
Burning Issue presentation of Zhazgul N. , Cycle 54
 
Machine learning workshop, CZU Prague 2024
Machine learning workshop, CZU Prague 2024Machine learning workshop, CZU Prague 2024
Machine learning workshop, CZU Prague 2024
 
Dynamics of Professional Presentationpdf
Dynamics of Professional PresentationpdfDynamics of Professional Presentationpdf
Dynamics of Professional Presentationpdf
 
The Real Story Of Project Manager/Scrum Master From Where It Came?!
The Real Story Of Project Manager/Scrum Master From Where It Came?!The Real Story Of Project Manager/Scrum Master From Where It Came?!
The Real Story Of Project Manager/Scrum Master From Where It Came?!
 
Communication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptxCommunication Accommodation Theory Kaylyn Benton.pptx
Communication Accommodation Theory Kaylyn Benton.pptx
 

Continuous Delivery with focus on CI - Scania Connected Services - Talentum Events 2014

  • 1. Continuous Delivery – Focus on Continuous Integration TESTING FORUM 2014 August 26 2014, Talentum Events
  • 2. Scania engineers • Anders Lundsgård – 4 years as Consultant – 6 years at Scania • Release Responsible • Integrator • Architect • Peter Sandberg – 7 years at ABB & Ericsson – 3 years at Scania • Test Leading • Test Automation • Scrum Master
  • 3. Agile what? Waterfall ”Agile” Continuous Integration Continuous Delivery DevOps
  • 4. “Agile” © Bestoutcome Ltd 2014 Project planning Last mile
  • 5. Agile what? Waterfall ”Agile” Continuous Integration Continuous Delivery DevOps Agile teams within the Enterprise An Agile Enterprise
  • 7. Smartphone access to driver/vehicle data Scania Connected Services MP MP FMP Monitoring Report Communication Servers Web Servers Email and SMS remiders/ alarms Fleet Management Portal Remote Diagnosis Current status message every minute Web Service Interface FMP
  • 8. Key concepts for Continuous Delivery • Test Driven Development • Deployment Pipeline • Continuous Integration • Feature Toggles • Configuration Management • A/B tests • Always On • Tear the walls Technical patterns Cultural changes
  • 10. Test Pyramid Manual ”inspection” GUI Tests Integration Tests Unit Tests
  • 11. What gives quality? I’m Done!
  • 12. Test ice-cream cone Manual Regression GUI Tests Integration Tests Unit Tests
  • 13. Our test movement Communication via error reports Communication face to face GUI-oriented tests Tests towards service layer Tests executed in desktop environment Tests into the Deployment Pipeline Test specific dev environment Same dev environment as developers Separated test teams Embedded testers
  • 15. Deployment Pipeline Commit Stage Acceptance Stage Load Stage Deploy Stage Compile Unit Test Analysis Packaging Acc. Deploy Acc. Tests Exploraty Tests Load Tests Perf Tests Staging Deploy Prod Deploy ... .. …..
  • 16. Deployment Pipeline Commit Stage Acceptance Stage Load Stage Deploy Stage Compile Unit Test Analysis Packaging Acc. Deploy Acc. Tests Exploraty Tests Load Tests Perf Tests Staging Deploy Prod Deploy ... .. …..
  • 18. Continuous Integration • Maintain a Single Source Repository • Automate the Build • Make Your Build Self-Testing • Everyone Commits To the Mainline Every Day • Every Commit Should Build the Mainline on an Integration Machine • Keep the Build Fast • Test in a Clone of the Production Environment • Make it Easy for Anyone to Get the Latest Executable • Everyone can see what's happening • Automate Deployment
  • 19. Feature Branch Dev Branch #1 Main Release Branch #1 Dev Branch #2
  • 20. Feature Toggle GUI Business Main Logic Database
  • 24. Google Trends DevOps Continuous Integration Continuous Delivery The Lean Startup
  • 25. Challenge – to you tester Code your first test and see it execute in the CI environment If there is no CI environment. Suggest to create one!
  • 27. Contact • Peter Sandberg – peter.sandberg@scania.com • Anders Lundsgård – anders.lundsgard@scania.com – @anderslundsgard