public class ScriptExecutor extends Object implements Serializable
| Constructor and Description |
|---|
ScriptExecutor(PostBuildScriptLog log,
hudson.model.BuildListener listener) |
| Modifier and Type | Method and Description |
|---|---|
int |
executeScriptPathAndGetExitCode(hudson.FilePath workspace,
String command,
hudson.Launcher launcher) |
boolean |
performGroovyScript(hudson.FilePath workspace,
String scriptContent) |
boolean |
performGroovyScriptFile(hudson.FilePath workspace,
String scriptFilePath) |
public ScriptExecutor(PostBuildScriptLog log, hudson.model.BuildListener listener)
public int executeScriptPathAndGetExitCode(hudson.FilePath workspace,
String command,
hudson.Launcher launcher)
throws PostBuildScriptException
PostBuildScriptExceptionpublic boolean performGroovyScript(hudson.FilePath workspace,
String scriptContent)
public boolean performGroovyScriptFile(hudson.FilePath workspace,
String scriptFilePath)
throws PostBuildScriptException
PostBuildScriptExceptionCopyright © 2016–2017. All rights reserved.