Команда Ant из конвейерной задачи Azure - PullRequest
0 голосов
/ 14 октября 2019

Я запускаю ant target из задачи Azure конвейера PowerShell, где она завершается сбоем без какого-либо журнала ошибок.

*[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'.*

Но если я запускаю ту же команду ant из Powershell IDE, она выдает ошибку.

*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:*

Нужно ли что-то проверять в задаче PowerShell для конвейера Azure? Пожалуйста, помогите мне с этим.

Спасибо, Puneet

...