Hudson 3 Essentials

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.

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.
$20.99
$34.99
RRP $20.99
RRP $34.99
eBook
Print + eBook
$29.99 p/month

Subscribe Now

Download this title FREE and instantly access over 3,500 courses today!

With unlimited access to a constantly growing library of over 3,500 courses, a subscription to Mapt gives you everything you need to get that next promotion or to land that dream job. Cancel anytime.

+ Collection
Free Sample

Book Details

ISBN 139781783280551
Paperback124 pages

Book Description

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

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

 

Authors

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

Book Details

ISBN 139781783280551
Paperback124 pages
Read More

Read More Reviews