0
我在UrbanCode Deploy Shell步驟中執行以下命令。我想要的是針對所有找到的文件運行Util.sh。find -exec不運行exec部分
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
'/var/tmp/shell_command_5832071109593396198.tmp: Util.sh:未找到 –