Hudson 3 Essentials


Hudson 3 Essentials
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
$16.79
save 20%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
$34.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 124 pages [ 235mm x 191mm ]
Release Date : December 2013
ISBN : 1783280557
ISBN 13 : 9781783280551
Author(s) : Lloyd H. Meinholz
Topics and Technologies : All Books, Application Development, Open Source


Table of Contents

Preface
Chapter 1: Why Hudson?
Chapter 2: Installing and Running Hudson
Chapter 3: Configuring and Securing Hudson
Chapter 4: Installing and Developing Hudson Plugins
Chapter 5: Building and Delivering with Hudson
Chapter 6: Testing and Reporting with Hudson
Chapter 7: Upgrading Hudson and the Team Concept feature
Appendix: Online Resources
Index
  • Chapter 1: Why Hudson?
    • Benefits of Hudson
      • Hudson can improve project health
      • Hudson can automate the build and deployment process
    • 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 JDK
      • Configuring Ant
      • Configuring Maven
    • Configuring Hudson for sending e-mails
    • Backing up Hudson
    • Configuring security
      • Hudson authentication
      • Hudson authorization
    • Defining a simple security policy
    • Summary
  • Chapter 4: Installing and Developing Hudson Plugins
    • What is a plugin?
    • Installing plugins
      • Installing featured plugins
      • Installing recommended plugins
      • Installing other plugins
      • Plugin configuration
    • The ThinBackup plugin
      • Configuring our backup strategy
    • Creating a Hudson plugin
      • Downloading and installing Apache Maven
      • Adding the Maven HPI plugin
      • Using JDK 1.6
      • Creating the sample-plugin project
      • Structure of the sample-plugin project
      • Creating the sample-plugin HPI file
      • Running the sample-plugin project
      • Creating a sample job
      • What happened?
      • How did that happen?
      • What else can I do?
      • Deploying sample-plugin to our Hudson installation
    • The sample-plugin project source code on Github
    • Summary
  • Chapter 5: Building and Delivering with Hudson
    • Using Maven to build a sample project
      • Creating a free-style software job for the Maven job
      • Configuring Source Code Management for the Maven job
      • Configuring the build step for the Maven job
      • Saving the Maven job
      • Manually building the Maven job
    • The Hudson home directory structure
    • Using Gradle to build a sample project
      • Creating a free-style software job for the Gradle job
      • Configuring Source Code Management for the Gradle job
      • Saving the Gradle job
      • Manually building the Gradle job
    • Using Grails to build a sample project
      • Creating a free-style software job for the Grails job
      • Configuring Source Code Management for the Grails job
      • Installing the Grails Hudson 3 plugin
      • Downloading and configuring Grails
      • Configuring the build step for the Grails job
      • Saving the Grails Job
      • Manually building the Grails job
    • Deploying a WAR file to an application server
      • Installing the Deploy to container Plugin and Copy Artifact Plugin
      • Reconfiguring Tomcat
      • Configuring the Deploy build step
      • Executing and validating the job
    • Performing a custom action with a Groovy script
      • Configuring Groovy
      • Adding a Groovy build step to the job
      • The testScript.groovy Groovy script
    • Summary
  • Chapter 6: Testing and Reporting with Hudson
    • The hudsonDemoProject
      • Creating a free-style software job
      • Configuring Source Code Management
      • The project layout
    • Generating and publishing Javadoc
      • Configuring a post-build action for the hudsonDemoProject job
    • Running and publishing JUnit test reports
      • Updating the Gradle build step for the hudsonDemoProject job
      • Configuring a post-build action
    • Static source code analysis
      • PMD
      • FindBugs
      • Checkstyle
      • More about the Gradle build file
      • Updating the Gradle build step
      • Configuring post-build actions for the hudsonDemoProject job
      • Building and analyzing the results for the hudsonDemoProject
    • Trend analysis of hudsonDemoProject
    • Summary
  • Chapter 7: Upgrading Hudson and the Team Concept feature
    • Checking Hudson and plugin upgrade availability
    • Backing up Hudson
      • Upgrading Hudson automatically
      • Installing a new standalone Hudson WAR file
      • Installing a new Hudson WAR file on Tomcat
      • Installing a new Hudson WAR file on JBoss AS 7
      • Installing a new Hudson WAR file on GlassFish 4
    • Team Concept
      • Creating new users
      • Configuring team-based authorization
      • Creating Teams
      • Adding members to teams
      • Creating new jobs
      • Assigning Jobs to Teams
      • Verifying job visibility
    • Summary

Lloyd H. Meinholz

Lloyd Meinholz is currently a senior developer and architect at a mid-sized company building enterprise applications. He has been building web applications using Linux, Java, and many other technologies for over 13 years. Lloyd has mostly focused on server side development and often deals with topics around building and deployment. Lloyd has been programming for over 25 years.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Hudson 3 Essentials +    Moodle 1.9 Math =
50% Off
the second eBook
Price for both: £19.75

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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.

Approach

A practical guide, packed with illustrations, that will help you become proficient with Hudson and able to utilize it how you want.

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software