英文:
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
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论