Package hudson.plugins.groovy
Class SystemGroovy
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.groovy.AbstractGroovy
hudson.plugins.groovy.SystemGroovy
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
A Builder which executes system Groovy script in Jenkins JVM (similar to JENKINS_URL/script).
- Author:
- dvrzalik
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionSystemGroovy
(ScriptSource scriptSource, String bindings, String classpath) Deprecated.SystemGroovy
(SystemScriptSource source) -
Method Summary
Modifier and TypeMethodDescriptionboolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) void
setBindings
(String bindings) 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
-
SystemGroovy
-
SystemGroovy
Deprecated.
-
-
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
-
getSource
-
getBindings
-
setBindings
-