public class PowerShellBuildStep
extends hudson.tasks.CommandInterpreter
BatchFile| Modifier and Type | Class and Description |
|---|---|
static class |
PowerShellBuildStep.ArgValue |
static class |
PowerShellBuildStep.DescriptorImpl
Descriptor for
PowerShellBuildStep. |
static class |
PowerShellBuildStep.ScriptBuildStepArgs |
| Constructor and Description |
|---|
PowerShellBuildStep(String buildStepId,
PowerShellBuildStep.ScriptBuildStepArgs scriptBuildStepArgs)
The constructor used at form submission
|
PowerShellBuildStep(String buildStepId,
String[] buildStepArgs)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
buildCommandLine(hudson.FilePath script) |
String[] |
getBuildStepArgs() |
String |
getBuildStepId() |
protected String |
getContents() |
PowerShellBuildStep.DescriptorImpl |
getDescriptor() |
protected String |
getFileExtension() |
createScriptFile, getCommand, perform, perform@DataBoundConstructor public PowerShellBuildStep(String buildStepId, PowerShellBuildStep.ScriptBuildStepArgs scriptBuildStepArgs)
buildStepId - the Id of the config filescriptBuildStepArgs - whether to save the args and arg values (the boolean is required because of html form submission, which also sends hidden values)public String getBuildStepId()
public String[] getBuildStepArgs()
public String[] buildCommandLine(hudson.FilePath script)
buildCommandLine in class hudson.tasks.CommandInterpreterprotected String getContents()
getContents in class hudson.tasks.CommandInterpreterprotected String getFileExtension()
getFileExtension in class hudson.tasks.CommandInterpreterpublic PowerShellBuildStep.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2015. All Rights Reserved.