Class: Jenkins::Plugin::CLI::New

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/jenkins/plugin/cli/new.rb

Instance Method Summary collapse

Instance Method Details

#create_gemfileObject



14
15
16
# File 'lib/jenkins/plugin/cli/new.rb', line 14

def create_gemfile
  template('templates/Gemfile.tt', "#{name}/Gemfile")
end

#create_pluginspecObject



18
19
20
# File 'lib/jenkins/plugin/cli/new.rb', line 18

def create_pluginspec
  template('templates/pluginspec.tt', "#{name}/#{name}.pluginspec")
end