provisionConfigFile
public static FilePath provisionConfigFile(ConfigFile configFile,
@Nullable
EnvVars env,
Run<?,?> build,
FilePath workspace,
TaskListener listener,
List<String> tempFiles)
throws IOException,
InterruptedException
Provisions (publishes) the given file to the workspace.
- Parameters:
configFile
- the file to be provisioned
env
- enhanced environment to use in the variable substitution
build
- a build being run
workspace
- target workspace
listener
- the listener
tempFiles
- temp files created by this method, these files should be deleted by the caller
- Returns:
- remote location path of the provided file.
- Throws:
IOException
InterruptedException
AbortException
- config file has not been found