jenkins build中找不到sqlplus命令
我正在尝试执行命令“ sqlplus -s $ {db_user}/$ {db_password} @$ {db_host}:1521/$ {db_sid} @$ {workspace}/$ {workspace}/$ {fix_version}/$ {sql_file}/$ {sql_file}詹金斯(Jenkins)构建,我不断收到错误“ sqlplus:找不到命令”。我有一个Mac,并通过Homebrew下载了SQLPlus。我不确定我缺少什么(如果是潜在的环境变量)或如何解决问题
I am trying to execute the command "sqlplus -S ${db_user}/${db_password}@${db_host}:1521/${db_sid} @${WORKSPACE}/${FIX_VERSION}/${sql_file}" in a Jenkins build and I keep getting the error "sqlplus: command not found." I have a mac and downloaded sqlplus through homebrew. I'm not sure what I am missing (if it is potentially environment variables), or how to solve the problem
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试更新路径变量以在执行SQL Plus命令之前,以包含SQLPLUS可执行位置。
Try updating the PATH variable to include sqlplus executable location before executing your SQL plus command.