我对 Informatica 还很陌生。我正在尝试使用 jenkins 将 Powercenter 代码从一个环境自动部署到另一个环境。
脚本:
节点('')
{
def application = 'powercenter'
stage('deploy'){
sshagent(['group']) {
sh """ssh -o StrictHostKeyChecking=no user@123.com 'cd /opt/hub/infapwc/server/bin && pmrep connect -r Repository_Service_L1 -d domain -n username -x password'"""
}
}
}
我的工作因错误而失败:找不到 pmrep 命令。Informatica 安装在我正在执行 ssh 的 linux 服务器上。这在 putty 中运行良好。我不确定问题是什么。有人可以帮忙吗?