SlideShare a Scribd company logo
1 Copyright ©2014 CollabNet, Inc. All Rights Reserved.ENTERPRISE CLOUD DEVELOPMENT
Improving Quality
through
Continuous Integration
A case study of CollabNet best practices
Janardhanam Venkat
Director Engineering
Dr. Dobbs Conference - Pune - April 13th 2014
2 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Overview
• Introduction to Basic CI
• Chaos in Product Development
• Defining CI strategy
• Building a CI strategy
• Execution cycle feedback
• CI Infrastructure
• Drill down to Metrics
• Measurement & Maturity
3 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
CI Packaging
CI Server
Ping
Version
Control
CI Server
Commit
- Detailed Test Suite
Longer Running Test
Light weight Test
Basic CI Environment
- Unit Test
- Check Style
4 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Chaos & Problem
Where to start?
5 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
• Not sure how much unit test coverage is written for a feature
• Not sure if my code is following best practices
• No time to test in multiple browsers and their versions
• Unable to cope up with installer testing
– Combination of OS & database has many permutations to test
– Turn around time to test a minor installer fix is 2 weeks or longer
Agile Team Problem
6 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
• Infrastructure Security Vulnerability
– Prior Product release versions in production
• Application Security Vulnerability
– Cross site scripting, SQL injection
• Service Issues
– SOAP API breaking
• Broken Link in the product
– Help contents 404
• Few feature have issue that are browser specific
– Not working in IE 9
Customer Problem
Reactive
(Customer
Problem)
Proactive
(Agile Teams
Problem)
7 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
• Use provisioning to enable CI
• Run parallel tests
• Tie code review process with commit tests
• Test in clone of Production environment
Industry Best Practices
8 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Input to CI Strategy
CI
Strategy
Customer
Problem
Agile Team
Problem
Industry
Best
Practices
Roadmap
9 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
• Parameters that defines the strategy
– What kind of test Coverage?
• Certain features may need more coverage
– How important is Time to Feedback?
• Can team act upon if the feedback takes longer
– What is the Cost?
• Hardware versus Tester Resource
• Pick license or Open Source tool
Refining CI strategy
Source: Revello Systems, March 2014
You may not get all three parameters right
10 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Building CI strategy
Problem Tools Value
Infrastructure Security Vulnerability Nessus Identify JDK, Apache,
OS vulnerability
Application Security Testing Acunetix XSS, SQL injection
Installer Automation Home grown Multi platform testing
Functional Testing Selenium Reduce time
Services Testing SOAP UI Automate
Static Code Analysis FindBugs, PMD Code Quality
Broken Links Link Checker Identify 404
Code Coverage Cobertura Unit test coverage
Performance Testing JMeter Load Testing
Browser Compatibility Testing Browsera Multi browser test
508 Compliance Testing WAT
11 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Extending CI Infrastructure
Self
Provisioning
ALM
Jenkins
CI
Infrastructure
12 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Leverage Self Provisioning Environment
• Provisioning of boxes
– Platform, OS & application configuration
– E.g.: Solaris, CentOS, Suse, RHEL, in combination with 32/64 Bit, 2/4/8
core & different storage space
– Common Profile for teams
Datacenter
Distributed Teams
SDLC Mgmt.
Customer
(Early release)
Product – Ops 1
Product – QA 1
Product – QA 2
Product – QA 3
Product – Dev 1
13 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Leverage ALM for Traceability
14 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
CI Master
Nessus
Suite
Suite 1
Suite 2
…
Suite 6
CI Master
Detail Test
Suite
Suite 1
Suite 2
….
Suite 10
Commit Test
CI Master
Functional
Test
CI Master
SOAP Broken Link
CI Master
Installer
Automation
Case 1
Case 2
……
Case 14
FindBug PMD
CI Infrastructure – Self Provisioning, ALM & Jenkins
Boxes
Provisioned in
private cloud
Master
Slave
Around 70 Servers
ALM
15 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
CI Execution Cycle – Feedback
Commit
Validation
SOAP
Services
Test
Static
Code
Analysis
Functional
Test
Installer
Automation
Application
Security
Testing
Infra.
Security
4 Hr 1 Week10 Min 20 Min 3 Hr 10 Hr1 Hr
Detail
Unit Test
Commit reverted for failed test
Defect created for failed test
15 Min0
16 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
CI Execution Cycle – Feedback
Commit
Validation
SOAP
Services
Test
Static
Code
Analysis
Functional
Test
Installer
Automation
Application
Security
Testing
Infra.
Security
4 Hr 1 Week10 Min 20 Min 3 Hr 10 Hr1 Hr
Detail
Unit Test
Commit reverted for failed test
Defect created for failed test
15 Min0
598
1327
5601
5287
93 8
0
1000
2000
3000
4000
5000
6000
Commit
Validation
SOAP Selenium Full Unit
Test
Load Test Installer
Automation
#ofTestCases
TeamForge Automated Cases
17 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
CI Visibility Dashboard
Took an year to implement the strategy
Started in April 2013
18 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
CI Visibility Notification
19 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Metrics - Customer Reported Core Product Defects
17.20
15.13
7.00
0.00
2.00
4.00
6.00
8.00
10.00
12.00
14.00
16.00
18.00
20.00
Jun-12 Dec-12 Jun-13 Dec-13
TeamForge Release Date
Customer Defect By Release Ratio
20 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Metrics - Installer Automation
• Reduce Installer qualification time to 1 day – Phase I
– Total 185 hours to qualify one round of installer testing
– After automating 8 installer cases, reduced qualification time to 134 hours
Manual, 131
hrs
Saved, 51 hrs
Actual, 3 hrs.
Automated,
54
Installer Automation - 8 of 19 cases
done
One round manual qualification - Total 185 hours
21 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
• CI increases confidence and reduces risk
• Defines quality, prevention & reduction of defect
• Builds value with faster feedback
• Shorten software release time
• Results published, increases visibility to agile teams
• Challenges Continues
– Unable to automate data warehouse ETL testing
– Keeping up with tools & maintenance overhead
– Large scale refactoring & architecture changes
CI Value to Agile Teams
22 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
• Infrastructure vulnerability - Setup in prior 3 releases
• Broken link - Set up in prior product release
• Setting up the same CI infrastructure for 3 branches
Additional Refinements
23 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Measure & Mature CI Strategy
Basic
Find defect after
development
Manual
Deployment
Team actions on
report
Commit
Validation
Manual
Build
Intermediate
Early detection
Partial auto
deploy to Test
Historical &
analysis
Code analysis,
Functional Test
Automated Build
& CI
Advanced
Reduce customer
defect
Auto deploy to
Test /Stage
Trending Reports
Performance,
Security Test
Leverage
provisioning
Optimized
Defect
prevention
Auto deploy to
Prod
Predictive
Modeling
Services Test
Track CI config
changesBuild
Test
Visibility
Deployment
Quality
24 Copyright ©2014 CollabNet, Inc. All Rights Reserved.24 Copyright ©2014 CollabNet, Inc. All Rights Reserved.
Questions?
Janardhanam Venkat
[venkatj@collab.net]
www.collab.net
+1-650-228-2500
+1-888-778-9793
blogs.collab.net
twitter.com/collabnet
www.facebook.com/collabnet
www.linkedin.com/company/collabnet-inc

More Related Content

What's hot (20)

PDF
DevOps and the Case for ROI to Executives
IBM UrbanCode Products
 
PPT
Validating Next Generation CPUs
DVClub
 
PDF
Building Security in Using CI
Coveros, Inc.
 
PDF
Enabling agility with continuous integration testing
IBM Rational software
 
PDF
Mobile DevOps - Trends and Chellenges
Sanjeev Sharma
 
PDF
Get Mapped: Using Value Stream Mapping to Create a DevOps Adoption Roadmap
IBM UrbanCode Products
 
PPTX
Security Implications for a DevOps Transformation
Deborah Schalm
 
PDF
Securing deployment pipeline
Len Bass
 
PDF
TechTalk 2021: Peran IT Security dalam Penerapan DevOps
DicodingEvent
 
PDF
Deployability
Len Bass
 
PDF
Leading the Transformation: Applying DevOps and Agile Principles at Scale
IBM UrbanCode Products
 
PDF
IP Reuse Impact on Design Verification Management Across the Enterprise
DVClub
 
PDF
Using DevOps to Improve Software Quality in the Cloud
TechWell
 
PDF
Engineering DevOps to meet Business Goals
Marc Hornbeek
 
PDF
VMworld 2013: Best Practices for Application Lifecycle Management with vCloud...
VMworld
 
PDF
Meet Big Agile: Testing on Large-Scale Projects
TechWell
 
PDF
Disruptive Technology Trends - Cloud, Mobile, IoT and Beyond
Dr Ganesh Iyer
 
PDF
Flight East 2018 Presentation–A DevOps State of Mind: Continuous Security wit...
Synopsys Software Integrity Group
 
PDF
Packaging tool options
Len Bass
 
PDF
Using Lean Thinking to identify and address Delivery Pipeline bottlenecks
Sanjeev Sharma
 
DevOps and the Case for ROI to Executives
IBM UrbanCode Products
 
Validating Next Generation CPUs
DVClub
 
Building Security in Using CI
Coveros, Inc.
 
Enabling agility with continuous integration testing
IBM Rational software
 
Mobile DevOps - Trends and Chellenges
Sanjeev Sharma
 
Get Mapped: Using Value Stream Mapping to Create a DevOps Adoption Roadmap
IBM UrbanCode Products
 
Security Implications for a DevOps Transformation
Deborah Schalm
 
Securing deployment pipeline
Len Bass
 
TechTalk 2021: Peran IT Security dalam Penerapan DevOps
DicodingEvent
 
Deployability
Len Bass
 
Leading the Transformation: Applying DevOps and Agile Principles at Scale
IBM UrbanCode Products
 
IP Reuse Impact on Design Verification Management Across the Enterprise
DVClub
 
Using DevOps to Improve Software Quality in the Cloud
TechWell
 
Engineering DevOps to meet Business Goals
Marc Hornbeek
 
VMworld 2013: Best Practices for Application Lifecycle Management with vCloud...
VMworld
 
Meet Big Agile: Testing on Large-Scale Projects
TechWell
 
Disruptive Technology Trends - Cloud, Mobile, IoT and Beyond
Dr Ganesh Iyer
 
Flight East 2018 Presentation–A DevOps State of Mind: Continuous Security wit...
Synopsys Software Integrity Group
 
Packaging tool options
Len Bass
 
Using Lean Thinking to identify and address Delivery Pipeline bottlenecks
Sanjeev Sharma
 

Viewers also liked (13)

PPTX
Continuous integration testing fundamentals
Cygnet Infotech
 
PPSX
Old Infrastructure or New IP? Your Choice: The Brocade CIO Survey 2015
Dawn Morris
 
PDF
Ship it! Fast Product Development
BERATUNG JUDITH ANDRESEN
 
PDF
Seit wir Scrum machen ist alles super. NICHT!
Tobias Ranft
 
PDF
Schnell liefern!
BERATUNG JUDITH ANDRESEN
 
PDF
Mit Scrum wird alles besser!?
Tobias Ranft
 
PDF
Alles wird gut - wir machen jetzt Scrum!
BERATUNG JUDITH ANDRESEN
 
PDF
Echte Innovation liefern
BERATUNG JUDITH ANDRESEN
 
PDF
Continuous Integration with Jenkins and ANT
David Berliner
 
PPT
Continuous Integration (Jenkins/Hudson)
Dennys Hsieh
 
PPTX
Jenkins - From Continuous Integration to Continuous Delivery
Virendra Bhalothia
 
PPT
CI and CD with Jenkins
Martin Málek
 
PDF
Design in Tech Report 2017
John Maeda
 
Continuous integration testing fundamentals
Cygnet Infotech
 
Old Infrastructure or New IP? Your Choice: The Brocade CIO Survey 2015
Dawn Morris
 
Ship it! Fast Product Development
BERATUNG JUDITH ANDRESEN
 
Seit wir Scrum machen ist alles super. NICHT!
Tobias Ranft
 
Schnell liefern!
BERATUNG JUDITH ANDRESEN
 
Mit Scrum wird alles besser!?
Tobias Ranft
 
Alles wird gut - wir machen jetzt Scrum!
BERATUNG JUDITH ANDRESEN
 
Echte Innovation liefern
BERATUNG JUDITH ANDRESEN
 
Continuous Integration with Jenkins and ANT
David Berliner
 
Continuous Integration (Jenkins/Hudson)
Dennys Hsieh
 
Jenkins - From Continuous Integration to Continuous Delivery
Virendra Bhalothia
 
CI and CD with Jenkins
Martin Málek
 
Design in Tech Report 2017
John Maeda
 
Ad

Similar to Improving Quality through Continuous Integration - A case study of CollabNet (20)

PDF
Enterprise CI as-a-Service using Jenkins
CollabNet
 
PDF
Ci tips and_tricks_linards_liepins
Linards Liep
 
PDF
Continuous integration
hugo lu
 
PPTX
CollabNet Houston Workshop Live Enterpise agility_11.12.14
dennisn129CBN
 
PPTX
Michigan IT Symposium 2017 - CI/CD Workflow Tutorial
Jeffrey Sica
 
PPTX
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
dennisn129
 
PDF
Linking Upstream and Downstream Agile
CollabNet
 
PPTX
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie
 
PPTX
Making software development processes to work for you
Ambientia
 
PPTX
CI CD OPS WHATHAVEYOU
Hanokh Aloni
 
PDF
Continuous Delivery in a Legacy Shop - One Step at a Time
Gene Gotimer
 
PDF
Continuous Delivery in a Legacy Shop - One Step at a Time
Coveros, Inc.
 
PDF
SanDiego_DevOps_Meetup_9212016
w2fong
 
PDF
Continuous Integration in NET Marcin Kawalerowicz 2024 Scribd Download
shaynrojo
 
PPTX
(Agile) engineering best practices - What every project manager should know
Richard Cheng
 
PPTX
SanDiego_DevOps_Meetup_9212016-v8
Rajwinder Singh
 
PPT
Continuous deployment steve povilaitis
Steve Povilaitis
 
PDF
Continuous Delivery in a Legacy Shop—One Step at a Time
TechWell
 
PPTX
Chapter 3 Reducing Risks Using CI
Jherson Martelo Medina
 
PDF
Implementing Continuous Integration to Improve Software Quality
Rocket Software
 
Enterprise CI as-a-Service using Jenkins
CollabNet
 
Ci tips and_tricks_linards_liepins
Linards Liep
 
Continuous integration
hugo lu
 
CollabNet Houston Workshop Live Enterpise agility_11.12.14
dennisn129CBN
 
Michigan IT Symposium 2017 - CI/CD Workflow Tutorial
Jeffrey Sica
 
10.15.2014 dallas ws_brian_d_dn_live workshop enterpise agility_cust
dennisn129
 
Linking Upstream and Downstream Agile
CollabNet
 
Agile Engineering Sparker GLASScon 2015
Stephen Ritchie
 
Making software development processes to work for you
Ambientia
 
CI CD OPS WHATHAVEYOU
Hanokh Aloni
 
Continuous Delivery in a Legacy Shop - One Step at a Time
Gene Gotimer
 
Continuous Delivery in a Legacy Shop - One Step at a Time
Coveros, Inc.
 
SanDiego_DevOps_Meetup_9212016
w2fong
 
Continuous Integration in NET Marcin Kawalerowicz 2024 Scribd Download
shaynrojo
 
(Agile) engineering best practices - What every project manager should know
Richard Cheng
 
SanDiego_DevOps_Meetup_9212016-v8
Rajwinder Singh
 
Continuous deployment steve povilaitis
Steve Povilaitis
 
Continuous Delivery in a Legacy Shop—One Step at a Time
TechWell
 
Chapter 3 Reducing Risks Using CI
Jherson Martelo Medina
 
Implementing Continuous Integration to Improve Software Quality
Rocket Software
 
Ad

More from Venkat Janardhanam, MS, MBA (11)

DOCX
Test management in Agile Teams
Venkat Janardhanam, MS, MBA
 
DOCX
Test Management in TeamForge
Venkat Janardhanam, MS, MBA
 
PPTX
Team forge Test Management with TestLink
Venkat Janardhanam, MS, MBA
 
PPTX
India agile week chennai - Agile maturity to scale for enterprise & blendin...
Venkat Janardhanam, MS, MBA
 
PDF
Journey to the center of DevOps - v6
Venkat Janardhanam, MS, MBA
 
PDF
Agile Adoption in Testing 2013 - v2
Venkat Janardhanam, MS, MBA
 
PDF
Developer want change Ops want control - devops
Venkat Janardhanam, MS, MBA
 
PPTX
Agile developers do it globally - v5
Venkat Janardhanam, MS, MBA
 
PDF
Agile estimation
Venkat Janardhanam, MS, MBA
 
PDF
Purpose Of ALM Tool
Venkat Janardhanam, MS, MBA
 
PDF
Agile ALM Tool Comparison
Venkat Janardhanam, MS, MBA
 
Test management in Agile Teams
Venkat Janardhanam, MS, MBA
 
Test Management in TeamForge
Venkat Janardhanam, MS, MBA
 
Team forge Test Management with TestLink
Venkat Janardhanam, MS, MBA
 
India agile week chennai - Agile maturity to scale for enterprise & blendin...
Venkat Janardhanam, MS, MBA
 
Journey to the center of DevOps - v6
Venkat Janardhanam, MS, MBA
 
Agile Adoption in Testing 2013 - v2
Venkat Janardhanam, MS, MBA
 
Developer want change Ops want control - devops
Venkat Janardhanam, MS, MBA
 
Agile developers do it globally - v5
Venkat Janardhanam, MS, MBA
 
Agile estimation
Venkat Janardhanam, MS, MBA
 
Purpose Of ALM Tool
Venkat Janardhanam, MS, MBA
 
Agile ALM Tool Comparison
Venkat Janardhanam, MS, MBA
 

Recently uploaded (20)

DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 

Improving Quality through Continuous Integration - A case study of CollabNet

  • 1. 1 Copyright ©2014 CollabNet, Inc. All Rights Reserved.ENTERPRISE CLOUD DEVELOPMENT Improving Quality through Continuous Integration A case study of CollabNet best practices Janardhanam Venkat Director Engineering Dr. Dobbs Conference - Pune - April 13th 2014
  • 2. 2 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Overview • Introduction to Basic CI • Chaos in Product Development • Defining CI strategy • Building a CI strategy • Execution cycle feedback • CI Infrastructure • Drill down to Metrics • Measurement & Maturity
  • 3. 3 Copyright ©2014 CollabNet, Inc. All Rights Reserved. CI Packaging CI Server Ping Version Control CI Server Commit - Detailed Test Suite Longer Running Test Light weight Test Basic CI Environment - Unit Test - Check Style
  • 4. 4 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Chaos & Problem Where to start?
  • 5. 5 Copyright ©2014 CollabNet, Inc. All Rights Reserved. • Not sure how much unit test coverage is written for a feature • Not sure if my code is following best practices • No time to test in multiple browsers and their versions • Unable to cope up with installer testing – Combination of OS & database has many permutations to test – Turn around time to test a minor installer fix is 2 weeks or longer Agile Team Problem
  • 6. 6 Copyright ©2014 CollabNet, Inc. All Rights Reserved. • Infrastructure Security Vulnerability – Prior Product release versions in production • Application Security Vulnerability – Cross site scripting, SQL injection • Service Issues – SOAP API breaking • Broken Link in the product – Help contents 404 • Few feature have issue that are browser specific – Not working in IE 9 Customer Problem Reactive (Customer Problem) Proactive (Agile Teams Problem)
  • 7. 7 Copyright ©2014 CollabNet, Inc. All Rights Reserved. • Use provisioning to enable CI • Run parallel tests • Tie code review process with commit tests • Test in clone of Production environment Industry Best Practices
  • 8. 8 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Input to CI Strategy CI Strategy Customer Problem Agile Team Problem Industry Best Practices Roadmap
  • 9. 9 Copyright ©2014 CollabNet, Inc. All Rights Reserved. • Parameters that defines the strategy – What kind of test Coverage? • Certain features may need more coverage – How important is Time to Feedback? • Can team act upon if the feedback takes longer – What is the Cost? • Hardware versus Tester Resource • Pick license or Open Source tool Refining CI strategy Source: Revello Systems, March 2014 You may not get all three parameters right
  • 10. 10 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Building CI strategy Problem Tools Value Infrastructure Security Vulnerability Nessus Identify JDK, Apache, OS vulnerability Application Security Testing Acunetix XSS, SQL injection Installer Automation Home grown Multi platform testing Functional Testing Selenium Reduce time Services Testing SOAP UI Automate Static Code Analysis FindBugs, PMD Code Quality Broken Links Link Checker Identify 404 Code Coverage Cobertura Unit test coverage Performance Testing JMeter Load Testing Browser Compatibility Testing Browsera Multi browser test 508 Compliance Testing WAT
  • 11. 11 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Extending CI Infrastructure Self Provisioning ALM Jenkins CI Infrastructure
  • 12. 12 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Leverage Self Provisioning Environment • Provisioning of boxes – Platform, OS & application configuration – E.g.: Solaris, CentOS, Suse, RHEL, in combination with 32/64 Bit, 2/4/8 core & different storage space – Common Profile for teams Datacenter Distributed Teams SDLC Mgmt. Customer (Early release) Product – Ops 1 Product – QA 1 Product – QA 2 Product – QA 3 Product – Dev 1
  • 13. 13 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Leverage ALM for Traceability
  • 14. 14 Copyright ©2014 CollabNet, Inc. All Rights Reserved. CI Master Nessus Suite Suite 1 Suite 2 … Suite 6 CI Master Detail Test Suite Suite 1 Suite 2 …. Suite 10 Commit Test CI Master Functional Test CI Master SOAP Broken Link CI Master Installer Automation Case 1 Case 2 …… Case 14 FindBug PMD CI Infrastructure – Self Provisioning, ALM & Jenkins Boxes Provisioned in private cloud Master Slave Around 70 Servers ALM
  • 15. 15 Copyright ©2014 CollabNet, Inc. All Rights Reserved. CI Execution Cycle – Feedback Commit Validation SOAP Services Test Static Code Analysis Functional Test Installer Automation Application Security Testing Infra. Security 4 Hr 1 Week10 Min 20 Min 3 Hr 10 Hr1 Hr Detail Unit Test Commit reverted for failed test Defect created for failed test 15 Min0
  • 16. 16 Copyright ©2014 CollabNet, Inc. All Rights Reserved. CI Execution Cycle – Feedback Commit Validation SOAP Services Test Static Code Analysis Functional Test Installer Automation Application Security Testing Infra. Security 4 Hr 1 Week10 Min 20 Min 3 Hr 10 Hr1 Hr Detail Unit Test Commit reverted for failed test Defect created for failed test 15 Min0 598 1327 5601 5287 93 8 0 1000 2000 3000 4000 5000 6000 Commit Validation SOAP Selenium Full Unit Test Load Test Installer Automation #ofTestCases TeamForge Automated Cases
  • 17. 17 Copyright ©2014 CollabNet, Inc. All Rights Reserved. CI Visibility Dashboard Took an year to implement the strategy Started in April 2013
  • 18. 18 Copyright ©2014 CollabNet, Inc. All Rights Reserved. CI Visibility Notification
  • 19. 19 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Metrics - Customer Reported Core Product Defects 17.20 15.13 7.00 0.00 2.00 4.00 6.00 8.00 10.00 12.00 14.00 16.00 18.00 20.00 Jun-12 Dec-12 Jun-13 Dec-13 TeamForge Release Date Customer Defect By Release Ratio
  • 20. 20 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Metrics - Installer Automation • Reduce Installer qualification time to 1 day – Phase I – Total 185 hours to qualify one round of installer testing – After automating 8 installer cases, reduced qualification time to 134 hours Manual, 131 hrs Saved, 51 hrs Actual, 3 hrs. Automated, 54 Installer Automation - 8 of 19 cases done One round manual qualification - Total 185 hours
  • 21. 21 Copyright ©2014 CollabNet, Inc. All Rights Reserved. • CI increases confidence and reduces risk • Defines quality, prevention & reduction of defect • Builds value with faster feedback • Shorten software release time • Results published, increases visibility to agile teams • Challenges Continues – Unable to automate data warehouse ETL testing – Keeping up with tools & maintenance overhead – Large scale refactoring & architecture changes CI Value to Agile Teams
  • 22. 22 Copyright ©2014 CollabNet, Inc. All Rights Reserved. • Infrastructure vulnerability - Setup in prior 3 releases • Broken link - Set up in prior product release • Setting up the same CI infrastructure for 3 branches Additional Refinements
  • 23. 23 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Measure & Mature CI Strategy Basic Find defect after development Manual Deployment Team actions on report Commit Validation Manual Build Intermediate Early detection Partial auto deploy to Test Historical & analysis Code analysis, Functional Test Automated Build & CI Advanced Reduce customer defect Auto deploy to Test /Stage Trending Reports Performance, Security Test Leverage provisioning Optimized Defect prevention Auto deploy to Prod Predictive Modeling Services Test Track CI config changesBuild Test Visibility Deployment Quality
  • 24. 24 Copyright ©2014 CollabNet, Inc. All Rights Reserved.24 Copyright ©2014 CollabNet, Inc. All Rights Reserved. Questions? Janardhanam Venkat [[email protected]] www.collab.net +1-650-228-2500 +1-888-778-9793 blogs.collab.net twitter.com/collabnet www.facebook.com/collabnet www.linkedin.com/company/collabnet-inc