hudson.plugins.ruby
Class Ruby

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by hudson.tasks.CommandInterpreter
              extended by hudson.plugins.ruby.Ruby
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep

public class Ruby
extends hudson.tasks.CommandInterpreter

Invokes the ruby interpreter and invokes the Ruby script entered on the hudson build configuration.

It is expected that the ruby interpreter is available on the system PATH.

Author:
Vivek Pandey

Nested Class Summary
static class Ruby.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static Ruby.DescriptorImpl DESCRIPTOR
           
 
Fields inherited from class hudson.tasks.CommandInterpreter
command
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Method Summary
protected  java.lang.String[] buildCommandLine(hudson.FilePath script)
           
protected  java.lang.String getContents()
           
 hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
           
protected  java.lang.String getFileExtension()
           
 
Methods inherited from class hudson.tasks.CommandInterpreter
getCommand, perform, perform
 
Methods inherited from class hudson.tasks.Builder
getProjectAction, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, prebuild
 

Field Detail

DESCRIPTOR

public static final Ruby.DescriptorImpl DESCRIPTOR
Method Detail

buildCommandLine

protected java.lang.String[] buildCommandLine(hudson.FilePath script)
Specified by:
buildCommandLine in class hudson.tasks.CommandInterpreter

getContents

protected java.lang.String getContents()
Specified by:
getContents in class hudson.tasks.CommandInterpreter

getFileExtension

protected java.lang.String getFileExtension()
Specified by:
getFileExtension in class hudson.tasks.CommandInterpreter

getDescriptor

public hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()


Copyright © 2008. All Rights Reserved.