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
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using Gradle to build a sample project


Gradle is another open source tool used for building applications. Gradle provides the option for a project to create a wrapper. Gradle Wrapper is a script that will download and use the version of Gradle that the project was designed to be built with, which saves the effort of downloading, installing, and configuring Gradle yourself.

Gradle is built using Gradle (of course!). So, let's create a job that builds Gradle from the latest source.

Note

Information about Gradle can be found at the project's home page at http://www.gradle.org/.

Creating a free-style software job for the Gradle job

We will create a free-style software job, as we described in the Creating a free-style software job for the Maven job section, except that the job name will be Gradle.

Configuring Source Code Management for the Gradle job

We will configure the Source Code Management section to use Git as we did in the preceding section. In the Source Code Management section of the Job Configurations...