Forge Home

hudson_native

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

9,757 downloads

9,521 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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