© Sauce Labs, Inc.
CI - More than Releases
Presented by Your Name, Your Title for Sauce Labs, Inc.Date Goes Here
© Sauce Labs, Inc.
Outline
• Intros
• Continuous Integration Basics
• CI is not just about releases
• A new set of challenges
Take control -Sauce Labs Demo
Take the next step - CloudBees Demo
• The future of integration/release
• Resources
© Sauce Labs, Inc.
What is CI
Automatic builds of the entire application, into integration environments. Location for
automated and manual testing by the entire team. 99.9% of companies can benefit from CI.
Goal
• Find bugs faster – DUH
• Safe playground
• Move testing earlier in the pipeline
Tools for the Job
• Infrastructure as code
• Release Management
• Automated Testing and Reporting
© Sauce Labs, Inc.
A Cinderella Story
© Sauce Labs, Inc.
That is not all CI does
• First line of defense
• Get to the fun stuff sooner
• Better communication – The “Code” cafe
• Oversight and Learning
• Continuous Documentation
• On-boarding for Continuous Delivery or Deployment
© Sauce Labs, Inc.
If it doesn’t hurt it’s not worth doing
• People
• Infrastructure
• Contamination
• Test Grids
• Integration
• Metrics
Plenty of answers. Just don’t wait.
© Sauce Labs, Inc.
Sauce Demo – Oversight - Documentation
Take Control
© Sauce Labs, Inc.
Future of CI
• Pipelines of containers not code
• New multi-tier envs upon each build
• Mock Environments
• Service Virtualization
© Sauce Labs, Inc.
Sauce Demo – Oversight - Documentation
Take the Next Step
© Sauce Labs, Inc.
What Is the Next Step?
• Continuous Integration is definitely a game changer
• So, what is the next step?
• DevOps is a Journey - there are many steps along the way
• Every Journey needs a guide!
© Sauce Labs, Inc.© Sauce Labs, Inc.
Meet Jenkins
1,000+ plugins
The Most Connected CI/CD Platform
Open Source and thriving ecosystem
Support & Enterprise Features from CloudBees
© Sauce Labs, Inc.
Life without Jenkins
© Sauce Labs, Inc.
Life with Jenkins!
© Sauce Labs, Inc.
Testing Spectrum – a Critical Step
Unit Tests
Integration
Tests
Quality
Tests
Security
Tests
Functional
Tests
Performance
Tests
System
Tests
© Sauce Labs, Inc.
Continuous Delivery – the next step
Continuous Delivery takes the automation focus to new areas
… Up the testing spectrum, across silos
… To the release and deployment teams
And treats the SDLC as a Pipeline
© Sauce Labs, Inc.© Sauce Labs, Inc.
Isn’t Jenkins a CI tool?
Jenkins isn’t a Continuous Integration tool…
Nor a Continuous Delivery tool.
Jenkins is an automation tool.
The industry was using Jenkins for CI...
and now the industry is using Jenkins for CD.
… but it hasn’t always been an easy road.
© Sauce Labs, Inc.
Introducing Jenkins Workflow
© Sauce Labs, Inc.
Jenkins Workflow
stage 'build' {
checkout([$class: 'GitSCM’, userRemoteConfigs: [[url: 'https://repo/project.git']]])
sh 'mvn clean install'
}
stage ’unit-test' {
sh 'mvn verify'
}
stage 'functional-test' {
build 'sauce-labs-project'
input message: ’Did the Sauce tests pass?', submitter: 'quality-assurance-team'
}
stage 'deploy' {
sh 'puppet apply manifest.pp'
}
© Sauce Labs, Inc.
CloudBees Workflow Extensions
Workflow Visualization Checkpoints Workflow Templates
© Sauce Labs, Inc.
CloudBees
Jenkins @ Enterprise Scale
CloudBees Jenkins Enterprise
• Productivity increasing features
• Enhanced security
• High Availability
CloudBees Jenkins Operations Center
• CloudBees Jenkins Analytics
• Jenkins management tools
24x7 Support for Jenkins

Continuous Integration (CI) is about more than releases

  • 1.
    © Sauce Labs,Inc. CI - More than Releases Presented by Your Name, Your Title for Sauce Labs, Inc.Date Goes Here
  • 2.
    © Sauce Labs,Inc. Outline • Intros • Continuous Integration Basics • CI is not just about releases • A new set of challenges Take control -Sauce Labs Demo Take the next step - CloudBees Demo • The future of integration/release • Resources
  • 3.
    © Sauce Labs,Inc. What is CI Automatic builds of the entire application, into integration environments. Location for automated and manual testing by the entire team. 99.9% of companies can benefit from CI. Goal • Find bugs faster – DUH • Safe playground • Move testing earlier in the pipeline Tools for the Job • Infrastructure as code • Release Management • Automated Testing and Reporting
  • 4.
    © Sauce Labs,Inc. A Cinderella Story
  • 5.
    © Sauce Labs,Inc. That is not all CI does • First line of defense • Get to the fun stuff sooner • Better communication – The “Code” cafe • Oversight and Learning • Continuous Documentation • On-boarding for Continuous Delivery or Deployment
  • 6.
    © Sauce Labs,Inc. If it doesn’t hurt it’s not worth doing • People • Infrastructure • Contamination • Test Grids • Integration • Metrics Plenty of answers. Just don’t wait.
  • 7.
    © Sauce Labs,Inc. Sauce Demo – Oversight - Documentation Take Control
  • 8.
    © Sauce Labs,Inc. Future of CI • Pipelines of containers not code • New multi-tier envs upon each build • Mock Environments • Service Virtualization
  • 9.
    © Sauce Labs,Inc. Sauce Demo – Oversight - Documentation Take the Next Step
  • 10.
    © Sauce Labs,Inc. What Is the Next Step? • Continuous Integration is definitely a game changer • So, what is the next step? • DevOps is a Journey - there are many steps along the way • Every Journey needs a guide!
  • 11.
    © Sauce Labs,Inc.© Sauce Labs, Inc. Meet Jenkins 1,000+ plugins The Most Connected CI/CD Platform Open Source and thriving ecosystem Support & Enterprise Features from CloudBees
  • 12.
    © Sauce Labs,Inc. Life without Jenkins
  • 13.
    © Sauce Labs,Inc. Life with Jenkins!
  • 14.
    © Sauce Labs,Inc. Testing Spectrum – a Critical Step Unit Tests Integration Tests Quality Tests Security Tests Functional Tests Performance Tests System Tests
  • 15.
    © Sauce Labs,Inc. Continuous Delivery – the next step Continuous Delivery takes the automation focus to new areas … Up the testing spectrum, across silos … To the release and deployment teams And treats the SDLC as a Pipeline
  • 16.
    © Sauce Labs,Inc.© Sauce Labs, Inc. Isn’t Jenkins a CI tool? Jenkins isn’t a Continuous Integration tool… Nor a Continuous Delivery tool. Jenkins is an automation tool. The industry was using Jenkins for CI... and now the industry is using Jenkins for CD. … but it hasn’t always been an easy road.
  • 17.
    © Sauce Labs,Inc. Introducing Jenkins Workflow
  • 18.
    © Sauce Labs,Inc. Jenkins Workflow stage 'build' { checkout([$class: 'GitSCM’, userRemoteConfigs: [[url: 'https://repo/project.git']]]) sh 'mvn clean install' } stage ’unit-test' { sh 'mvn verify' } stage 'functional-test' { build 'sauce-labs-project' input message: ’Did the Sauce tests pass?', submitter: 'quality-assurance-team' } stage 'deploy' { sh 'puppet apply manifest.pp' }
  • 19.
    © Sauce Labs,Inc. CloudBees Workflow Extensions Workflow Visualization Checkpoints Workflow Templates
  • 20.
    © Sauce Labs,Inc. CloudBees Jenkins @ Enterprise Scale CloudBees Jenkins Enterprise • Productivity increasing features • Enhanced security • High Availability CloudBees Jenkins Operations Center • CloudBees Jenkins Analytics • Jenkins management tools 24x7 Support for Jenkins

Editor's Notes

  • #13 http://i1.wp.com/kittyinaz.files.wordpress.com/2013/03/long-dark-road.jpg Someone recently asked me to give a talk and describe the world without Jenkins --- trust me, it’s a dark, dark place
  • #14 https://bearmarketreview.files.wordpress.com/2012/12/happy-road-sign-via-httpseesilver-tumblr-compost132175453641.jpg
  • #15 Can’t say enough about how important this “step” is --- this is why our partnership with SauceLabs is so important to us!
  • #17 The project website is jenkins-ci.org after all! That’s one of the best parts of the Jenkins – it goes where the community goes Not always an easy road – many OSS plugins involved; complex job chaining involved
  • #19 Simple, groovy-based DSL Brings the power of Jenkins constructs for build (job, build, scm, etc.) to a source controllable text script