Class SQLPlusRunner
java.lang.Object
org.jenkinsci.plugins.sqlplus.script.runner.SQLPlusRunner
- All Implemented Interfaces:
Serializable
Run SQLPlus commands on the agent, or master of Jenkins.
- See Also:
-
Constructor Summary
ConstructorDescriptionSQLPlusRunner
(Run<?, ?> build, TaskListener listener, Launcher launcher, FilePath workspace, boolean isHideSQLPlusVersion, String user, String password, boolean isSysdba, String instance, String script, String globalOracleHome, String globalSQLPlusHome, String globalTNSAdmin, String globalNLSLang, String globalSQLPath, String scriptType, String customOracleHome, String customSQLPlusHome, String customTNSAdmin, String customNLSLang, String customSQLPath, boolean tryToDetectOracleHome, boolean debug) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Main process to run SQLPlusvoid
runGetSQLPLusVersion
(String customSQLPlusHome, String oracleHome, TaskListener listener, Launcher launcher) Get SQL Plus version
-
Constructor Details
-
SQLPlusRunner
public SQLPlusRunner(Run<?, ?> build, TaskListener listener, Launcher launcher, FilePath workspace, boolean isHideSQLPlusVersion, String user, String password, boolean isSysdba, String instance, String script, String globalOracleHome, String globalSQLPlusHome, String globalTNSAdmin, String globalNLSLang, String globalSQLPath, String scriptType, String customOracleHome, String customSQLPlusHome, String customTNSAdmin, String customNLSLang, String customSQLPath, boolean tryToDetectOracleHome, boolean debug)
-
-
Method Details
-
runGetSQLPLusVersion
public void runGetSQLPLusVersion(String customSQLPlusHome, String oracleHome, TaskListener listener, Launcher launcher) Get SQL Plus version- Parameters:
customSQLPlusHome
- - custom SQL*Plus homeoracleHome
- - Oracle Homelistener
- - Jenkins listenerlauncher
- - Jenkins launcher
-
run
Main process to run SQLPlus- Throws:
IOException
InterruptedException
-