public class Util extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
doesErrorExist(File logFile)
Simple routine to check for the string "Errors:" in a file.
|
static <T extends hudson.tools.ToolInstallation & hudson.model.EnvironmentSpecific<T> & hudson.slaves.NodeSpecific<T>> |
getInstallation(T tool,
hudson.EnvVars env,
hudson.model.TaskListener listener,
hudson.FilePath workspace) |
protected static boolean doesErrorExist(File logFile) throws IOException
logFile - file to scan.ERROR_STRING appears in file.IOExceptionpublic static <T extends hudson.tools.ToolInstallation & hudson.model.EnvironmentSpecific<T> & hudson.slaves.NodeSpecific<T>> T getInstallation(@Nullable T tool, hudson.EnvVars env, hudson.model.TaskListener listener, hudson.FilePath workspace) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.