Skip to content

soluvas/puppet-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jenkins

This is the jenkins module.

Sample Usage

 # Preconfigure Tomcat
  # Important: Must add user tomcat6 to plugdev if $PLEXUS_NEXUS_WORK is in NTFS
  file { '/etc/default/tomcat6':
  	mode    => 0644,
  	source  => 'puppet:///modules/bippodeveloper/hadi/tomcat6_default',
  }
  class { tomcat:
    version        => 6, # don't use 7, conflicts with Openbravo
    enable_service => true,
  }
  File['/etc/default/tomcat6'] -> Class['tomcat']
  1. Jenkins
    class { jenkins:
    tomcat_version => 6,
    dist_uri => ‘http://192.168.66.17:8080/alfresco/webdav/Sites/bippo/documentLibrary/Installer/Jenkins/jenkins.war’,
    private_key_source => ‘puppet:///modules/bippodeveloper/jenkins/id_rsa’,
    public_key_source => ‘puppet:///modules/bippodeveloper/jenkins/id_rsa.pub’,
    }
    class { jenkins::nginx:
    server_name => ‘jenkins.hadi.dev’,
    }
    class { jenkins::git:
    email => ‘[email protected]’,
    }
    class { jenkins::maven:
    settings_source => ‘puppet:///modules/bippodeveloper/jenkins/m2_settings.xml’,
    }

Note: In /etc/default/tomcat{6|7}, you still need to separately configure:

JENKINS_HOME=/home/jenkins/.jenkins

Git

Git needs to be installed separetely, jenkins::git will install the Git Jenkins plugin
and setup sane defaults for tomcat{6|7} user.

Ant & Maven

You will still need to configure Ant (antlibs) and Maven separately.

About

Jenkins Continuous Integration Server Puppet module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors