我正在从azure管道powershell任务运行ant目标,该任务失败,没有任何错误日志。
*[sf:deploy] Request ID for the current deploy task: 0Af2100000Tso3aCAB
[sf:deploy] Waiting for server to finish processing the request...
[sf:deploy] Request Status: InProgress (0/3) -- Processing Type:
[sf:deploy] Request Status: Failed
##[error]C:\apache-ant-1.9.14\bin\ant.bat :
##[error]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##[error] + CategoryInfo : NotSpecified: (:String) [], RemoteException
##[error] + FullyQualifiedErrorId : NativeCommandError
##[error]
##[error]PowerShell exited with code '1'.*
但是,如果我从Powershell IDE运行相同的ant命令,则会出现错误。
*sf:deploy] Waiting for server to finish processing the request...
[sf:deploy] Request Status: Pending
[sf:deploy] Request Status: Pending
[sf:deploy] Request Status: Pending
[sf:deploy] Request Status: Failed
C:\apache-ant-1.9.14\bin\ant.bat :
At line:1 char:1
+ C:\apache-ant-1.9.14\bin\ant.bat -buildfile C:\Automation\salesforce_ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
BUILD FAILED
C:\Automation\salesforce_ant_43.0\sample\build.testclass.xml:78:
*********** DEPLOYMENT FAILED ***********
Request ID: 0Af2100000TspYjCAJ
All Component Failures:*
我需要签入Azure管道Powershell任务吗? 请帮助我。
谢谢, 普尼特(Puneet)