Sha256: a0e32f8169b71bdf200fa9bec652afc6e9e2a6fb4a9f938c0809ebc0c87a9653
Contents?: true
Size: 731 Bytes
Versions: 2
Compression:
Stored size: 731 Bytes
Contents
require 'thor/group' module Engineyard module Jenkins class InstallServerGenerator < Thor::Group include Thor::Actions class_option :plugins, :aliases => '-p', :desc => 'additional Jenkins CI plugins (comma separated)' def self.source_root File.join(File.dirname(__FILE__), "install_server_generator", "templates") end def cookbooks directory "cookbooks" end def attributes @plugins = %w[git-1.1.6 github-0.4 rake-1.7.6 ruby-1.2 greenballs-1.10 envfile-1.1] + (options[:plugins] || '').strip.split(/\s*,\s*/) template "attributes.rb.tt", "cookbooks/jenkins_master/attributes/default.rb" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
engineyard-jenkins-0.5.1 | lib/engineyard-jenkins/cli/install_server_generator.rb |
engineyard-jenkins-0.5.0 | lib/engineyard-jenkins/cli/install_server_generator.rb |