Copyright .................................................................................................................... xix
Foreword ..................................................................................................................... xxi
Preface ...................................................................................................................... xxiii
- Audience ....................................................................................................... xxiii
- Book Layout .................................................................................................. xxiii
- Jenkins or Hudson? ......................................................................................... xxiii
- Font Conventions ............................................................................................ xxiv
- Command-Line Conventions ............................................................................. xxiv
- Contributors .................................................................................................... xxv
- The Review Team ........................................................................................... xxvi
- Book Sponsors ................................................................................................ xxvi
8.1. Wakaleo Consulting .............................................................................. xxvi
8.2. CloudBees .......................................................................................... xxvii
8.3. Odd-e ................................................................................................ xxvii - Using Code Examples .................................................................................... xxviii
- Safari® Books Online ................................................................................... xxviii
- How to Contact Us ........................................................................................ xxix
- Acknowledgments .......................................................................................... xxix
- 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 - 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