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

Defining a simple security policy

We will define a simple policy for our Hudson instance. We will use Hudson's internal user database for authentication and Matrix-based security for authorization.

On the Manage Hudson page, click on the Configure Security link. This will bring you to the System Configurations page. Select the Enable security checkbox.

In the Security Realm section, choose the Hudson's own user database radio button. The screenshot should look as follows:

At the bottom of the page, click on the Save button. This change results in the addition of the Manage Users link on the Manage Hudson page; click on the link. Click on the Create User link on the left-hand side of the screen. Create an admin user with the following settings:

Click on the login link on the upper-right side of the page and log in as the admin user that we just created.

Click on the Configure Security link on the Manage Hudson page. In the Authorization section, select the Matrix-based security radio button. In...