将日志从发布阶段导出到git仓库或某些存储

问题描述 投票:0回答:1

我正在创建一个Azure Devops管道来构建,测试和导出ios应用程序的结果。在构建 - >导出工件之后 - >在我执行测试的发布阶段,我无法理解导出日志和结果。我想将结果(zip文件)从Release Stage导出到本地或.git存储库。

(pipeline) Build IOS Application and Export Artifacts --> (Release Stage)Download Artifacts and Perform XCUITests & Export results

我尝试编写一个小脚本将结果上传到git repo但它失败了,因为我无法将生成的ssh keygen添加到github进行无提示身份验证。

git clone https://[email protected]/madhukarbs/Demo/_git/Test_Runs
git remote add origin https://[email protected]/madhukarbs/Demo/_git/Test_Runs
git push -u origin --all
fatal: could not read Password for 'https://[email protected]': terminal prompts disabled

您是否有更好的方法通过Internet提供Azure DevOps平台的结果(发布阶段)?

git azure-devops devops devops-services
1个回答
0
投票

把所有人都放在一个生态系统中是件好事。因此,我使用任务azcopy将结果上载到Azure存储。

© www.soinside.com 2019 - 2024. All rights reserved.