org.jenkinsci.plugins.postbuildscript.service
Class ScriptExecutor
java.lang.Object
org.jenkinsci.plugins.postbuildscript.service.ScriptExecutor
- All Implemented Interfaces:
- Serializable
public class ScriptExecutor
- extends Object
- implements Serializable
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected PostBuildScriptLog log
ScriptExecutor
public ScriptExecutor(PostBuildScriptLog log,
hudson.model.BuildListener listener)
executeScriptPathAndGetExitCode
public int executeScriptPathAndGetExitCode(hudson.FilePath workspace,
String scriptFilePath,
hudson.Launcher launcher)
throws PostBuildScriptException
- Throws:
PostBuildScriptException
performGroovyScript
public boolean performGroovyScript(hudson.FilePath workspace,
String scriptContent)
performGroovyScriptFile
public boolean performGroovyScriptFile(hudson.FilePath workspace,
String scriptFilePath)
throws PostBuildScriptException
- Throws:
PostBuildScriptException
Copyright © 2004-2013. All Rights Reserved.