hudson_native

Downloads and installs Oracle's Hudson CI Server using native Unix/Linux installation packages

Gary A Stafford

garystafford

8,518 downloads

8,358 latest version

5.0 quality score

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Mar 4th 2015
This version is compatible with:
  • Ubuntu
    ,
    CentOS

Start using this module

Tags: hudson, ci, oracle

Documentation

garystafford/hudson_native — version 0.1.1 Mar 4th 2015

Hudson CI Server Native Installer

Puppet module for downloading and installing Oracle's Hudson CI Server using native Unix/Linux installation packages. Hudson runs within a JVM, and therefore requires Java be installed. This module has a dependency on the puppetlabs-java module.

Hudson Initial View

Hudson Up and Running

Support

This module is currently tested on:

  • CentOS 6.5
  • CentOS 6.6
  • Ubuntu 14.04.02 LTS

Module will work on other Debian/RHEL distros. Needs to be tested.

Usage

The module includes a single hudson_native class. The http_port parameter allows you to optionally start Hudson on port other than the default port of 8080. Currenlty, http_port requires a manual restart of the Hudson service to switch from default port of 8080 to new port.

include 'hudson_native'  
class { 'hudson_native': }  
class { 'hudson_native': http_port => 8094 }

Test Install of Java and Hudson

java -version
should return a result similar to
OpenJDK Runtime Environment (rhel-2.5.4.0.el6_6-x86_64 u75-b13)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

sudo netstat -tulpn | grep 8080
should return a result similar to
tcp 0 0 :::8080 :::* LISTEN 12697/java

sudo service hudson status or
sudo /etc/init.d/hudson status
should return a result similar to
hudson (pid 13276) is running...

Hudson Links

Other Useful Commands

  • sudo cat /var/log/hudson/hudson.log # hudson log
  • cat /etc/default/hudson # defaults for hudson when running
  • ls -l /etc/init.d/
  • cat /etc/services