咨询:Azure DevOps Services Secure Files与Download Secure Files任务是否支持Windows代理?
Azure DevOps Secure Files及Download Secure Files任务对Windows代理的支持情况
- Secure Files:完全支持Windows代理。它作为Azure DevOps库中的通用安全存储功能,所托管的安全文件可被任意类型的代理(Windows、Linux、macOS均可)访问,不存在操作系统限制。
- Download Secure Files任务:同样支持Windows代理。尽管官方文档示例多以Linux环境为主,但该任务本身是跨平台设计的,在Windows代理上运行时会自动适配系统环境。
以下是Windows代理上使用该任务的示例配置:
steps: - task: DownloadSecureFile@1 inputs: secureFile: '你的安全文件名'
下载后的文件会保存在代理的临时目录中,可通过变量$(Agent.TempDirectory)/你的安全文件名访问该文件。
内容的提问来源于stack exchange,提问作者GilliVilla
相关产品推荐
相关产品推荐

