jenkins the definitive guide

(Jeff_L) #1

Copyright .................................................................................................................... xix
Foreword ..................................................................................................................... xxi
Preface ...................................................................................................................... xxiii



  1. Audience ....................................................................................................... xxiii

  2. Book Layout .................................................................................................. xxiii

  3. Jenkins or Hudson? ......................................................................................... xxiii

  4. Font Conventions ............................................................................................ xxiv

  5. Command-Line Conventions ............................................................................. xxiv

  6. Contributors .................................................................................................... xxv

  7. The Review Team ........................................................................................... xxvi

  8. Book Sponsors ................................................................................................ xxvi
    8.1. Wakaleo Consulting .............................................................................. xxvi
    8.2. CloudBees .......................................................................................... xxvii
    8.3. Odd-e ................................................................................................ xxvii

  9. Using Code Examples .................................................................................... xxviii

  10. Safari® Books Online ................................................................................... xxviii

  11. How to Contact Us ........................................................................................ xxix

  12. Acknowledgments .......................................................................................... xxix

  13. Introducing Jenkins ...................................................................................................... 1
    1.1. Introduction ..................................................................................................... 1
    1.2. Continuous Integration Fundamentals .................................................................... 1
    1.3. Introducing Jenkins (née Hudson) ........................................................................ 2
    1.4. From Hudson to Jenkins—A Short History ............................................................ 3
    1.5. Should I Use Jenkins or Hudson? ......................................................................... 4
    1.6. Introducing Continuous Integration into Your Organization ....................................... 5
    1.6.1. Phase 1—No Build Server ....................................................................... 5
    1.6.2. Phase 2—Nightly Builds .......................................................................... 5
    1.6.3. Phase 3—Nightly Builds and Basic Automated Tests ..................................... 5
    1.6.4. Phase 4—Enter the Metrics ...................................................................... 6
    1.6.5. Phase 5—Getting More Serious About Testing ............................................. 6
    1.6.6. Phase 6—Automated Acceptance Tests and More Automated Deployment ......... 6
    1.6.7. Phase 7—Continuous Deployment ............................................................. 6
    1.7. Where to Now? ................................................................................................ 7

  14. Your First Steps with Jenkins ........................................................................................ 9
    2.1. Introduction ..................................................................................................... 9
    2.2. Preparing Your Environment ............................................................................... 9
    2.2.1. Installing Java ...................................................................................... 10
    2.2.2. Installing Git ........................................................................................ 11
    2.2.3. Setting Up a GitHub Account .................................................................. 11
    2.2.4. Configuring SSH Keys ........................................................................... 12
    2.2.5. Forking the Sample Repository ................................................................ 12
    2.3. Starting Up Jenkins .......................................................................................... 14
    2.4. Configuring the Tools ...................................................................................... 17

Free download pdf