Class FileUtil
java.lang.Object
org.jenkinsci.plugins.sqlplus.script.runner.FileUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
addExitInTheEnd
(FilePath filePath) static FilePath
createTempScript
(Run<?, ?> build, FilePath workspace, String content, boolean agentMachine) static boolean
static boolean
hasExitCode
(FilePath filePath)
-
Method Details
-
hasExitCode
- Throws:
IOException
InterruptedException
-
addExit
public static void addExit(String content, FilePath filePath) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
addExitInTheEnd
- Throws:
IOException
InterruptedException
-
createTempScript
public static FilePath createTempScript(Run<?, ?> build, FilePath workspace, String content, boolean agentMachine) throws IOException, InterruptedException- Throws:
IOException
InterruptedException
-
findFile
-