当我尝试执行特定于应用程序的脚本时,Ant sshexec脚本挂起并且不返回错误或问题

时间:2018-11-12 13:01:58

标签: ant ptc-windchill

enter image description here

我试图在Linux环境中的主服务器和从服务器之间使用antshexec执行ssh,当我尝试从从服务器访问主服务器上的应用程序特定脚本时,ant脚本挂起并且不会引发任何错误。

源构建步骤:

<target name="Sync-up Master" depends="init">
<sshexec host="master"
         username="user"
         keyfile=""
         usepty="true"
         command="nohup /opt/ptc/buildScripts/buildMaster.sh 2>&amp;1"> 

构建主脚本到达此应用程序特定命令时挂起

windchill壳

我正在使用ptc的windchill应用程序

请参阅屏幕截图以获取错误详细信息

0 个答案:

没有答案