public class Shell extends CommandInterpreter
Modifier and Type | Class and Description |
---|---|
static class |
Shell.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
BuildStep.PublisherList
command
BUILDERS, PUBLISHERS
Modifier and Type | Method and Description |
---|---|
String[] |
buildCommandLine(FilePath script) |
protected String |
getContents() |
Shell.DescriptorImpl |
getDescriptor()
Gets the descriptor for this instance.
|
protected String |
getFileExtension() |
createScriptFile, getCommand, join, perform, perform
all, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
@DataBoundConstructor public Shell(String command)
public String[] buildCommandLine(FilePath script)
buildCommandLine
in class CommandInterpreter
protected String getContents()
getContents
in class CommandInterpreter
protected String getFileExtension()
getFileExtension
in class CommandInterpreter
public Shell.DescriptorImpl getDescriptor()
Describable
Descriptor
is a singleton for every concrete Describable
implementation, so if a.getClass() == b.getClass()
then by default
a.getDescriptor() == b.getDescriptor()
as well.
(In rare cases a single implementation class may be used for instances with distinct descriptors.)
getDescriptor
in interface Describable<Builder>
getDescriptor
in class Builder
Copyright © 2017. All rights reserved.