GlassFish Builds on Hudson

GlassFish Builds with Hudson
GlassFish Build Monitoring using Hudson
Contents:
Introduction
Building and Monitoring GlassFish
Hudson Details


Introduction

GlassFish is the name for the open source development project for bulding a Java EE 5 application server. It is based on the source code for Sun Java System Application Server PE 9 donated by Sun Microsystems and TopLink persistence code donated by Oracle.

You can find complete build instructions here - How to build GlassFish and the other build resources like GlassFish Build Blog and GlassFish with Netbeans Blog for building GlassFish server easily.

We have deployed Web Application Hudson, which is open source java.net project by itself. Hudson is deployed on GlassFish Server on promoted build #41 of GlassFish . Hudson application monitors executions of repeated jobs, such as building a software project or jobs run by cron.

Building and Monitoring GlassFish Builds:

The job "glassfish" is created on the publicly available host : glassfishbuildtools.sun.com and can be accessed from http://glassfishbuildtools.sun.com:8000/hudson/job/glassfish/

Essentially, it executes following shell commands configured in hudson application.
% cd glassfish/bootstrap
% maven checkout bootstrap-all build configure-runtime    
% maven checkout-quicklook
% export APS_HOME=$PWD/../appserv-tests;
% export S1AS_HOME=$PWD/../../publish/glassfish;
% cd $APS_HOME;
% maven runtest
Second command above checks out the sources using maven tool, which is build tool for GlassFish workspace, downloads all binary components and builds all source modules and finally it configures the server image to be able to run and deploy JavaEE applications on GlassFish Server.

Next "maven checkout-quicklook" checks out Quicklook test which covers most of the component level tests, and sets required variables like APS_HOME, S1AS_HOME and runs the tests using "maven runtest"

Hudson Details:

We can find most of the Features and Benefits of Hudson application from its project home page, Hudson on java.net. But main features that I wanted to specify here are "Console Output" and "Change Log"
  • For monitoring GlassFish Build status,  click on the first link of build number which is blinking circle for current build status. The output of the last build can be found from its Status Link on the Left hand side, and click on second build number from the top which is last completed build number, and click on "Console Output" link to see the complete build log.
  • "Changes" link on the status page will show the latest checkin integrated for this build.
Here is the screen shot of Hudson application deployed on GlassFish Server to monitor GlassFish regular builds.

GlassFish on Hudson



Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

dpatil

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today