万本电子书0元读

万本电子书0元读

顶部广告

Hudson 3 Essentials电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Lloyd H. Meinholz

出  版  社:Packt Publishing

出版时间:2013-12-11

字       数:47.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A practical guide, packed with illustrations, that will help you become proficient with Hudson and able to utilize it how you want.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.
目录展开

Hudson 3 Essentials

Table of Contents

Hudson 3 Essentials

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

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

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

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

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

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

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

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

A. Online Resources

Software downloads

Hudson resources

Application server resources

Hudson 3 Essentials book projects

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部