public class FileUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addExit(String content,
FilePath filePath) |
static void |
addExitInTheEnd(FilePath filePath) |
static FilePath |
createTempScript(Run<?,?> build,
FilePath workspace,
String content,
boolean agentMachine) |
static boolean |
findFile(String name,
File file) |
static boolean |
hasExitCode(FilePath filePath) |
public static boolean hasExitCode(FilePath filePath) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void addExit(String content, FilePath filePath) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static void addExitInTheEnd(FilePath filePath) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static FilePath createTempScript(Run<?,?> build, FilePath workspace, String content, boolean agentMachine) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2013–2023. All rights reserved.