我正在将Azure Devops 2019 与私有代理配合使用,并使用工件来存储nuget和符号。我试图在发布符号路径步骤的构建过程中上传符号。似乎我需要为此步骤指定PAT,但是我不确定该在哪里执行。这是日志的一部分:
2019-04-08T09:19:30.2367074Z ##[debug]ARTIFACTSERVICES_SYMBOL_ACCOUNTNAME (empty)
2019-04-08T09:19:30.2426018Z ##[debug]ARTIFACTSERVICES_SYMBOL_PAT (empty)
2019-04-08T09:19:30.2481875Z ##[debug]ARTIFACTSERVICES_SYMBOL_USEAAD (empty)
2019-04-08T09:19:30.2501336Z ##[debug] Converted to bool: False
2019-04-08T09:19:30.2530355Z ##[debug]SYSTEM_TEAMFOUNDATIONCOLLECTIONURI: 'https://myserver/tfs/DefaultCollection/'
2019-04-08T09:19:30.2744544Z ##[debug]GET https://myserver/tfs/DefaultCollection//_apis/servicedefinitions/locationservice2/951917ac-a960-4999-8464-e3f0aa25b381 with 0-byte payload
2019-04-08T09:19:30.3183328Z ##[debug]Leaving C:\a\_work\_tasks\PublishSymbols_0675668a-7bba-4ccb-901d-5ad6554ca653\2.0.14\PublishSymbols.ps1.
2019-04-08T09:19:30.3231719Z ##[debug]Caught exception from task script.
2019-04-08T09:19:30.3264469Z ##[debug]Error record:
2019-04-08T09:19:30.4254635Z ##[debug]Invoke-WebRequest :
2019-04-08T09:19:30.4267174Z ##[debug]
2019-04-08T09:19:30.4280196Z ##[debug]
2019-04-08T09:19:30.4293547Z ##[debug]
2019-04-08T09:19:30.4306435Z ##[debug] TF400813: Resource not available for anonymous access. Client authentication required. - Azure DevOps Server
2019-04-08T09:19:30.4319898Z ##[debug]
2019-04-08T09:19:30.4795963Z ##[debug] Error
2019-04-08T09:19:30.4809832Z ##[debug] The page you are looking for is currently unavailable.
2019-04-08T09:19:30.4823907Z ##[debug]
2019-04-08T09:19:30.4837843Z ##[debug] TF400813: Resource not available for anonymous access. Client authentication required.
这是构建管道:
有什么想法要为此步骤指定PAT吗?