 | Level: Intermediate Andrew Glover (aglover@stelligent.com), President, Stelligent Incorporated
21 Nov 2007 Continuous Integration (or CI) is a process that consists
of continuously compiling, testing, inspecting, and deploying source code. In
many Continuous Integration environments, this means running a new build
anytime code within a source code management repository changes. The benefit
of CI is simple: assembling software often greatly increases the
likelihood that you will spot defects early, when they still are
relatively manageable. In this tutorial, a companion to his series
In pursuit of code quality,
Andrew Glover introduces the fundamental aspects of Continuous Integration and steps you through how to set up a CI process using best-of-breed open source technologies.
Objectives
This tutorial guides you step-by-step through the fundamental concepts of Continuous Integration.
When you are done with this one-hour tutorial, you will understand the benefits of Continuous Integration as well as how to set up your environment. The resulting build
process will run both tests and software inspections and will report back
violations almost as quickly as they occur.
Prerequisites
To get the most from this tutorial, you should be familiar with Java™ development in general. This tutorial also assumes that you understand the value of building software with an acceptable level of quality and that you are familiar with JUnit.
System requirements
A Continuous Integration environment requires an automated build tool, a code
repository, and a CI server. To follow along and try out the code for this tutorial,
you'll need a working installation of the Java platform as well as Hudson 1.150,
Ant 1.7, JUnit 3.8.1, and Subversion 1.4.x. The recommended system configuration for this tutorial is as follows:
- A system supporting either the Sun JDK 1.5.0_09 (or later) or the IBM Developer Kit
for Java technology 1.5.0 SR3 with at least 500 MB of main memory
- At least 20MB of disk space to install the software components and examples covered
The instructions in the tutorial are based on a Microsoft® Windows® operating system. All
the tools covered in the tutorial also work on Linux® and Unix® systems.
Duration
1 hour
Formats html, pdf
|  | |  |