public class ScriptExecutor extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected PostBuildScriptLog |
log |
| Constructor and Description |
|---|
ScriptExecutor(PostBuildScriptLog log,
hudson.model.BuildListener listener) |
| Modifier and Type | Method and Description |
|---|---|
int |
executeScriptPathAndGetExitCode(hudson.FilePath workspace,
String scriptFilePath,
hudson.Launcher launcher) |
boolean |
performGroovyScript(hudson.FilePath workspace,
String scriptContent) |
boolean |
performGroovyScriptFile(hudson.FilePath workspace,
String scriptFilePath) |
protected PostBuildScriptLog log
public ScriptExecutor(PostBuildScriptLog log, hudson.model.BuildListener listener)
public int executeScriptPathAndGetExitCode(hudson.FilePath workspace,
String scriptFilePath,
hudson.Launcher launcher)
throws PostBuildScriptException
PostBuildScriptExceptionpublic boolean performGroovyScript(hudson.FilePath workspace,
String scriptContent)
public boolean performGroovyScriptFile(hudson.FilePath workspace,
String scriptFilePath)
throws PostBuildScriptException
PostBuildScriptExceptionCopyright © 2004-2013. All Rights Reserved.