Forge Home

hudson_native

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

9,628 downloads

9,408 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

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

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'garystafford-hudson_native', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add garystafford-hudson_native
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install garystafford-hudson_native --version 0.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: ci, oracle, hudson

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