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 enum
static final class
static final class
Nested classes/interfaces inherited from class hudson.plugins.groovy.AbstractGroovy
AbstractGroovy.AbstractGroovyDescriptor
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested 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 GroovyInstallation
Deprecated.getType()
Deprecated.boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.plugins.groovy.AbstractGroovy
parseProperties
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
Methods 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:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
getGroovy
-
buildCommandLine
protected List<String> buildCommandLine(AbstractBuild<?, ?> build, BuildListener listener, FilePath script, boolean isOnUnix) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-
getScriptSource
-
getCommand
Deprecated. -
getScriptFile
Deprecated. -
getGroovyName
-
getType
Deprecated. -
getParameters
-
getScriptParameters
-
getProperties
-
getJavaOpts
-
getClassPath
-