我正在创建一个 Azure Devops 管道来构建、测试和导出 ios 应用程序的结果。在构建->导出工件->在我执行测试的发布阶段,我无法理解导出日志和结果。我想将发布阶段的结果(一个 zip 文件)导出到本地或 .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://madhukarbs@dev.azure.com/madhukarbs/Demo/_git/Test_Runs
git remote add origin https://madhukarbs@dev.azure.com/madhukarbs/Demo/_git/Test_Runs
git push -u origin --all
fatal: could not read Password for 'https://madhukarbs@dev.azure.com': terminal prompts disabled
您是否有更好的方法可以通过 Internet 提供 Azure DevOps 平台中的结果(发布阶段)?