将SQLPlus下载到Jenkins Server
我正在尝试在Jenkins构建中运行SQLPLU(我在本地安装了SQLPLU)。当前,我的构建中有一个称为路径的变量:
PATH=/usr/local/Cellar/instantclient
我的构建稳定,詹金斯能够连接到数据库并执行命令。是否可以在未安装SQLPLU的Jenkins服务器上运行SQLPLUS命令。我正在尝试避免使用SQLPLUS脚本Runner插件。
I'm trying to run SQLPlus in a Jenkins build (I have SQLPlus installed on my local). Currently, I have a variable in my build called PATH:
PATH=/usr/local/Cellar/instantclient
My build is stable and Jenkins is able to connect to the database and execute commands. Is there a way to run SQLPlus commands on a Jenkins server that doesn't have SQLPlus installed. I'm trying to avoid using the SQLPlus script runner plug in as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过管道本身安装SQLPLU。例如,请参阅以下内容。话虽如此,如果您有一个静态的Jenkins实例,则最好的选择是安装服务器本身需要的任何工具。
You can install SQLPlus through the pipeline itself. For example, refer to the following. Having said that, if you have a static Jenkins instance best option is to install whatever tools that are required in the server itself.