Pipelines安装私有依赖项

Pipelines安装私有依赖项

本文介绍了DevOps Pipelines安装私有依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Azure DevOps构建项目.我的某些Python软件包依赖项位于同一项目的单独存储库中.我如何告诉管道构建和安装这些依赖项?我尝试添加脚本步骤

I'm trying to use Azure DevOps to build a project. Some of my Python package dependencies are in separate repositories within the same project. How do I tell the Pipeline to build and install these dependencies? I tried adding a script step

  - script: python -m pip install git+https://<myaccount>@dev.azure.com/<mydependency>
    displayName: 'Install local dependencies'

进入构建过程,但因以下原因而死:

to the build process, but it died because:

致命:无法读取"https://< myaccount> @ dev.azure.com/< mydependency>"的密码:没有这样的设备或地址
fatal: could not read Password for 'https://<myaccount>@dev.azure.com/<mydependency>': No such device or address

推荐答案

您可以在此处重定向有关Azure DevOps的问题: https://developercommunity.visualstudio.com/spaces/21/index.html

You can redirect your question for Azure DevOps here: https://developercommunity.visualstudio.com/spaces/21/index.html

谢谢

季恩


这篇关于DevOps Pipelines安装私有依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 21:47