Book Image

Hudson 3 Essentials

By : Lloyd H. Meinholz
Book Image

Hudson 3 Essentials

By: Lloyd H. Meinholz

Overview of this book

Continuous integration (CI) with automated test execution has been widely adopted in recent years. The concept behind CI has changed how companies look at Build Management, Release Management, Deployment Automation, and Test Orchestration. Hudson is a CI solution that provides executives, business managers, software developers, and architects with a better sense of the development progress and code quality of projects throughout their development life cycle.A fast-paced and hands-on introduction to the key features of Hudson 3. You will be introduced to tools that can be used to improve the quality of software development projects. You will also learn how to install and secure Hudson in a variety of IT environments. Staring with a brief introduction to Hudson and how it helps many IT organizations deliver high quality software, Hudson 3 Essentials will show you how Hudson can be installed and deployed in various environments. You will also be guided through the different methods of securing your Hudson installation. Moving on from the basics, you will be introduced to several important Hudson plugins and learn how to extend its functionality by developing your own plugins. You will be shown how Hudson can be used to build different types of applications and how it can deploy a web application to an application server. Finally, you will discover how Hudson can be used to perform automated testing on software applications, and how to generate reports that describe the results.
Table of Contents (15 chapters)
Hudson 3 Essentials
About the Author
About the Reviewers

The hudsonDemoProject

The hudsonDemoProject application is a Java web application that is implemented using the Spring MVC Framework. The project is hosted on GitHub and uses Gradle as its build tool. Unlike the projects we have used previously, this is a toy application with very little functionality.

Creating a free-style software job

Create a free-style software job named hudsonDemoProject as we did in Chapter 5, Building and Delivering with Hudson. Click on the New Job link in the left-hand side panel of the Hudson home page. The job name is hudsonDemoProject.

The screen should look similar to the following screenshot:

Click on the OK button at the bottom of the page. After clicking the OK button, you will be on the Job Configurations page. Some of the options on this page are enabled by default, and some of the options are enabled by plugins that have been installed.

Configuring Source Code Management

In the Source Code Management section of the Job Configurations page, select Git (we installed...