public class PowerShell
extends hudson.tasks.CommandInterpreter
| Modifier and Type | Class and Description |
|---|---|
static class |
PowerShell.DescriptorImpl |
| Constructor and Description |
|---|
PowerShell(String command,
boolean stopOnError,
boolean useProfile) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
buildCommandLine(hudson.FilePath script) |
protected String |
getContents() |
protected String |
getFileExtension() |
boolean |
isStopOnError() |
boolean |
isUseProfile() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
createScriptFile, getCommand, isErrorlevelForUnstableBuild, join, performall, getDescriptor, getRequiredMonitorService, prebuild@DataBoundConstructor public PowerShell(String command, boolean stopOnError, boolean useProfile)
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.CommandInterpreterInterruptedExceptionpublic boolean isStopOnError()
public boolean isUseProfile()
protected String getFileExtension()
getFileExtension in class hudson.tasks.CommandInterpreterpublic String[] buildCommandLine(hudson.FilePath script)
buildCommandLine in class hudson.tasks.CommandInterpreterprotected String getContents()
getContents in class hudson.tasks.CommandInterpreterCopyright © 2016–2021. All rights reserved.