Class: Jenkins2API::Command::Job

Inherits:
ThorCommand show all
Defined in:
lib/commands/job.rb

Overview

Contains all the commands under job namespace

Instance Method Summary collapse

Instance Method Details

#build(name) ⇒ Object

Start a build



12
13
14
# File 'lib/commands/job.rb', line 12

def build(name)
  client.job.build(name, options[:params], options[:delay])
end