org.jenkinsci.plugins.postbuildscript.service
Class ScriptExecutor

java.lang.Object
  extended by org.jenkinsci.plugins.postbuildscript.service.ScriptExecutor
All Implemented Interfaces:
Serializable

public class ScriptExecutor
extends Object
implements Serializable

Author:
Gregory Boissinot
See Also:
Serialized Form

Field Summary
protected  PostBuildScriptLog log
           
 
Constructor Summary
ScriptExecutor()
           
 
Method Summary
 int executeScriptPathAndGetExitCode(hudson.FilePath workspace, String scriptFilePath, hudson.Launcher launcher)
           
 boolean performGroovyScript(hudson.FilePath workspace, String scriptContent)
           
 boolean performGroovyScriptFile(hudson.FilePath workspace, String scriptFilePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

@Inject
protected PostBuildScriptLog log
Constructor Detail

ScriptExecutor

public ScriptExecutor()
Method Detail

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-2011. All Rights Reserved.