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 TypeMethodDescriptionboolean
getScriptFile
(FilePath projectWorkspace, AbstractBuild<?, ?> build, BuildListener listener) Able to load script when script path contains parametersint
hashCode()
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:ScriptSource
Able to load script when script path contains parameters- Specified by:
getScriptFile
in 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:
IOException
InterruptedException
-
getScriptFile
-
equals
-
hashCode
public int hashCode()
-