Package hudson.plugins.groovy
Class FileScriptSource
java.lang.Object
hudson.plugins.groovy.ScriptSource
hudson.plugins.groovy.FileScriptSource
- All Implemented Interfaces:
Describable<ScriptSource>
Groovy source based on given script file.
- Author:
- dvrzalik
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetScriptFile(FilePath projectWorkspace, AbstractBuild<?, ?> build, BuildListener listener) Able to load script when script path contains parametersinthashCode()Methods inherited from class hudson.plugins.groovy.ScriptSource
all, getDescriptor, getScriptFile, getScriptStream, getScriptStream
-
Constructor Details
-
FileScriptSource
-
-
Method Details
-
getScriptFile
public FilePath getScriptFile(FilePath projectWorkspace, AbstractBuild<?, ?> build, BuildListener listener) throws IOException, InterruptedExceptionDescription copied from class:ScriptSourceAble to load script when script path contains parameters- Specified by:
getScriptFilein classScriptSource- Parameters:
projectWorkspace- Project workspace to create tmp filebuild- - needed to obtain environment variableslistener- - build listener needed by Environment- Returns:
- Path to the executed script file
- Throws:
IOExceptionInterruptedException
-
getScriptFile
-
equals
-
hashCode
public int hashCode()
-