Free Sample
+ Collection

Hudson 3 Essentials

Starting
Lloyd H. Meinholz

Here is a book that makes life easier for Java developers or administrators by teaching you how to automate application testing using Hudson 3. Fast-paced and hands-on, the guide covers everything from installation to writing plugins.
$16.80
$34.99
RRP $20.99
RRP $34.99
eBook
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783280551
Paperback124 pages

About This Book

  • A practical guide that will teach you how to deploy Hudson 3 on an open source application server
  • Run Hudson 3 in standalone mode for testing and evaluation
  • Learn how to build, test, and deploy your applications with Hudson

Who This Book Is For

If you are a Java developer or administrator who would to like automate some of the mundane work required to build and test software and improve software quality, this is the book for you. If you are a development manager or tester, you can also benefit from learning how Hudson works by gaining some insight into test results and historical trends.

Table of Contents

Chapter 1: Why Hudson?
Benefits of Hudson
IT roles in relation to Hudson
Hudson plugins and integrations
The Hudson back story
Summary
Chapter 2: Installing and Running Hudson
Environment variables
Hudson prerequisites
Downloading Hudson
Running Hudson WAR without an application server
Unix/Linux installation
Tomcat installation and setup
Deploying Hudson to Tomcat
JBoss AS 7 installation and setup
Deploying Hudson to JBoss AS 7
GlassFish 4 installation and setup
Modifying GlassFish 4 settings
Deploying Hudson to GlassFish 4
Hudson CI Server initial setup
Hudson Home directory
Summary
Chapter 3: Configuring and Securing Hudson
Hudson home page
Hudson help
Configuring Hudson
Configuring the system
Configuring Hudson for sending e-mails
Backing up Hudson
Configuring security
Defining a simple security policy
Summary
Chapter 4: Installing and Developing Hudson Plugins
What is a plugin?
Installing plugins
The ThinBackup plugin
Creating a Hudson plugin
The sample-plugin project source code on Github
Summary
Chapter 5: Building and Delivering with Hudson
Using Maven to build a sample project
The Hudson home directory structure
Using Gradle to build a sample project
Using Grails to build a sample project
Deploying a WAR file to an application server
Performing a custom action with a Groovy script
Summary
Chapter 6: Testing and Reporting with Hudson
The hudsonDemoProject
Generating and publishing Javadoc
Running and publishing JUnit test reports
Static source code analysis
Trend analysis of hudsonDemoProject
Summary
Chapter 7: Upgrading Hudson and the Team Concept feature
Checking Hudson and plugin upgrade availability
Backing up Hudson
Team Concept
Summary

What You Will Learn

  • Run Hudson 3 as a standalone application for testing and evaluation
  • Deploy Hudson 3 to an existing application server
  • Secure your Hudson 3 installation and configure backups
  • Install Hudson 3 plugins to add additional functionality
  • Master the basics of writing Hudson 3 plugins
  • Create a Hudson 3 job to build a software project using Ant, Maven, or Gradle
  • Execute tests and generate reports for your Hudson 3 jobs

 

In Detail

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.

Authors

Read More

Recommended for You