我在 UrbanCode Deploy Shell 步骤中执行以下命令。我想要的是针对找到的所有文件运行 Util.sh。
find . -type f -exec ls -al {} \;
find . -type f -exec Util.sh -import source= {} overwrite=true \;
Util.sh
输出如下,第二条命令根本没有运行。
delimiter specified is ,
executing script for all values in /app/bip/XMLP/Reports
-------------------------------
executing script for values: /app/bip/XMLP/Reports
/bin/sh /var/tmp/shell_command_5832071109593396198.tmp /app/bip/XMLP/Reports
-------------------------------
command output:
./BIP_Rollfoward/tmp/FlexPak/Asset_Allocation/Asset_Allocation.xdmz
./BIP_Rollfoward/tmp/FlexPak/Asset_Allocation/Asset_Allocation.xdoz
/var/tmp/shell_command_5832071109593396198.tmp: Util.sh: not found
===============================
command exit code: 1