Package jenkins.model
Class WorkspaceWriter
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jvnet.hudson.test.TestBuilder
-
- jenkins.model.WorkspaceWriter
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.model.Describable<hudson.tasks.Builder>
,hudson.tasks.BuildStep
public class WorkspaceWriter extends TestBuilder
Write text into file in workspace.- Author:
- ogondza
-
-
Constructor Summary
Constructors Constructor Description WorkspaceWriter(String path, String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
-
Methods inherited from class org.jvnet.hudson.test.TestBuilder
getDescriptor, writeReplace
-
-
-
-
Method Detail
-
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfacehudson.tasks.BuildStep
- Specified by:
perform
in classTestBuilder
- Throws:
InterruptedException
IOException
-
-