.net core 为工作准备代理。代理未在Devops上运行

.net core 为工作准备代理。代理未在Devops上运行,.net-core,azure-devops,nuget-package,.net Core,Azure Devops,Nuget Package,我有一个用于工作的dev-ops管道,因此当我推送源代码时,项目将生成 我正在使用托管代理 但是现在我得到一个信息 为工作准备代理 代理已准备好连接作业 没有进一步的事情发生。 如果单击Summary,我可以看到构建管道尚未启动 我认为这可能与离线的第三方定制nuget软件包源有关,我想知道故障排除的步骤 这是azure-pipelines.yml pool: vmImage: 'VS2017-Win2016' variables: buildConfiguration: '

我有一个用于工作的dev-ops管道,因此当我推送源代码时,项目将生成

我正在使用托管代理

但是现在我得到一个信息

为工作准备代理

代理已准备好连接作业

没有进一步的事情发生。 如果单击Summary,我可以看到构建管道尚未启动

我认为这可能与离线的第三方定制nuget软件包源有关,我想知道故障排除的步骤

这是azure-pipelines.yml

    pool:
  vmImage: 'VS2017-Win2016'

variables:
  buildConfiguration: 'Debug'

steps:
- task: DotNetCoreInstaller@0
  displayName: 'Use .NET Core sdk 2.1.5'
  inputs:
    version: 2.1.403


- task: NuGetToolInstaller@0

- task: NuGetCommand@2
  inputs:
    restoreSolution: '**\*.sln'
    feedsToUse: config

    nugetConfigPath: 'MyApi/mynuget.config'


- task: DotNetCoreCLI@2
  displayName: Restore
  inputs:
    command: restore

    projects: '**/Api*.csproj'




#Your build pipeline references an undefined variable named ‘Parameters.projects’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
#Your build pipeline references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971
- task: DotNetCoreCLI@2
  displayName: Build
  inputs:
    projects: '$(Parameters.projects)'

    arguments: '--configuration $(BuildConfiguration)'


#Your build pipeline references an undefined variable named ‘Parameters.projects’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
#Your build pipeline references the ‘BuildConfiguration’ variable, which you’ve selected to be settable at queue time. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it settable at queue time. See https://go.microsoft.com/fwlink/?linkid=865971

- task: DotNetCoreCLI@2
  displayName: Publish
  inputs:
    command: publish

    publishWebProjects: false

    projects: '$(Parameters.projects)'

    arguments: '--configuration $(BuildConfiguration) --output $(build.artifactstagingdirectory)'

- task: PublishBuildArtifacts@1
  displayName: 'Publish Artifact'
  inputs:
    PathtoPublish: '$(build.artifactstagingdirectory)'
这是mynuget.config(模糊化)



我尝试在mynuget.config中对第三方软件包源代码进行注释,但没有任何帮助。

您没有做错任何事情。信息

为工作准备代理

问题就在我们这边

这是大约1.5小时前开始的问题,因为我也遇到了这个错误

请稍等,我们的团队正在修复此问题,以恢复托管代理使用的正常工作


对于公共用户,请参阅此链接以获取事件通知:。(由于延迟,似乎尚未向公众更新)。

我希望我需要等待第三方重新上线或组织其他订阅源。谢谢。然而,当我点击你的链接时,我得到了一个401。@KirstenGreed,请原谅我的遗漏。我为您提供了通知链接,该链接是我们内部的私有链接。更新我的答案的截图。@KirstenGreed,我这边的托管代理,你的呢?不确定该版本是否已部署到您的区域。谢谢,由于缺少Nuget软件包,它现在失败了。。。不要拖延。@KirstenGreed,welcome:-)看起来你有正常的工作。现在,通过分析详细的构建日志,您可以获得解决包丢失错误的步骤?
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageRestore>
    <add key="enabled" value="True" />
    <add key="automatic" value="True" />
  </packageRestore>
  <activePackageSource>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
  </activePackageSource>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="3rdparty" value="http://nuget.devweb.3rdparty/nuget" />
    <add key="SBDCommonFeed@Local" value="https://pkgs.dev.azure.com/myproject/_packaging/myfeedFeed@Local/nuget/v3/index.json" />
    <!-- Others -->
  </packageSources>
  <packageSourceCredentials>
    <!-- secret stuff -->
  </packageSourceCredentials>
</configuration>