Package hudson.plugins.groovy
Class Groovy
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.groovy.AbstractGroovy
hudson.plugins.groovy.Groovy
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
A Builder for Groovy scripts.
- Author:
- dvrzalik, vjuranek
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classstatic final classNested classes/interfaces inherited from class hudson.plugins.groovy.AbstractGroovy
AbstractGroovy.AbstractGroovyDescriptorNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildCommandLine(AbstractBuild<?, ?> build, BuildListener listener, FilePath script, boolean isOnUnix) Deprecated.protected GroovyInstallationDeprecated.getType()Deprecated.booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.plugins.groovy.AbstractGroovy
parsePropertiesMethods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
Groovy
-
-
Method Details
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getGroovy
-
buildCommandLine
protected List<String> buildCommandLine(AbstractBuild<?, ?> build, BuildListener listener, FilePath script, boolean isOnUnix) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
getScriptSource
-
getCommand
Deprecated. -
getScriptFile
Deprecated. -
getGroovyName
-
getType
Deprecated. -
getParameters
-
getScriptParameters
-
getProperties
-
getJavaOpts
-
getClassPath
-