VSTS代理未获取代理地址集。

huangapple go评论78阅读模式
英文:

VSTS agent not picking up proxy address set

问题

根据这个文档设置了构建代理。

文件的内容是 http://192.168.2.101:8080

然而,在下载构建产物任务运行时,无法下载构建产物。

系统诊断显示代理 URL 没有被识别,尽管我在文件中设置了 1。

我还检查了代理的版本是 2.181.2。

关于为什么无法识别代理 URL 有什么想法吗?

英文:

I've setup the build agent according to this document

VSTS代理未获取代理地址集。

Content of the file is http://192.168.2.101:8080

However when the download artifact task run, the build artifact could not be download

##[debug]Evaluating condition for step: 'Download artifact'
##[debug]Evaluating: SucceededNode()
##[debug]Evaluating SucceededNode:
##[debug]=> True
##[debug]Result: True
Starting: Download artifact
==============================================================================
Task         : Download artifacts from file share
Description  : Download artifacts from a file share, like \\share\drop
Version      : 1.154.2
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/download-fileshare-artifacts
==============================================================================
##[debug]Using node path: C:\azagent\A1\externals\node\bin\node.exe
##[debug]agent.TempDirectory=C:\azagent\A1\_work\_temp
##[debug]loading inputs and endpoints
##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
##[debug]loading INPUT_ARTIFACTNAME
##[debug]loading INPUT_DOWNLOADPATH
##[debug]loading INPUT_FILESHAREPATH
##[debug]loading INPUT_ITEMPATTERN
##[debug]loading INPUT_PARALLELIZATIONLIMIT
##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
##[debug]loaded 9
##[debug]Agent.ProxyUrl=undefined

system diagnostics show that ProxyUrl is not being pickup despite me setting 1 in the file

I've also checked that Agent version is 2.181.2

Any idea on why the proxy url cannot be pick up?

答案1

得分: 0

我把.proxy放错文件夹了,我把它放在了C:\azagent的根目录里,正确的目录应该是C:\azagent\A1

英文:

Turns out I didnt put .proxy in the correct folder, I put it in the root directory of C:\azagent instead. The correct directory to put .proxy is at C:\azagent\A1

huangapple
  • 本文由 发表于 2023年7月3日 16:35:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/76603106.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定