0

Azure Devops を使用して結果を Xray Cloud マルチパートにインポートしようとしています。これは、yml 構成ファイルからの bash コマンドです。

     token=$(curl -H "Content-Type: application/json" -X POST --data '{ "client_id": "$(client_id)","client_secret": "$(client_secret)" }' https://xray.cloud.xpand-it.com/api/v1/authenticate| tr -d '"')
     curl -H "Content-Type: multipart/form-data" -X POST -F info=@path\issueFields.json -F results=@path\target\surefire-reports\TEST-TestSuite.xml -F testInfo=@path\testIssueFields.json -H "Authorization: Bearer $token" https://xray.cloud.xpand-it.com/api/v1/import/execution/testng/multipart"

パイプライン コンソールで毎回このエラーを受け取ります。

"curl: (26) Failed to open/read local data from file/application
##[error]Bash exited with code '26'."

私は何を間違っていますか?

バッシュログ:

Starting: Bash
==============================================================================
Task         : Bash
Description  : Run a Bash script on macOS, Linux, or Windows
Version      : 3.189.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
==============================================================================

4

1 に答える 1