BUILD PIPELINE NuGet ERRORs

%3CLINGO-SUB%20id%3D%22lingo-sub-2516276%22%20slang%3D%22en-US%22%3EBUILD%20PIPELINE%20NuGet%20ERRORs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2516276%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20writing%20my%20first%20BUILD%20Pipeline%20and%20am%20having%20problems.%3C%2FP%3E%3CP%3EFirst%20my%20environment%3A%3C%2FP%3E%3CP%3E1)%20On%20Prem%20TFS%2FDEVOPS%3C%2FP%3E%3CP%3E2)%20behind%20firewall%3C%2FP%3E%3CP%3E3)%20On%20Prem%20NuGet%20Server%3C%2FP%3E%3CP%3E4)%20source%20is%20stored%20in%20TFVC%3C%2FP%3E%3CP%3E5)%20code%20is%20for%20a%20CRM%20plugin%26nbsp%3B%3C%2FP%3E%3CP%3E6)%20solution%20consists%20of%20around%20a%20dozen%20projects%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20create%20a%20BUILD%20pipeline%20that%20compiles%20the%20checked%20in%20code.%3C%2FP%3E%3CP%3Ei%20have%20created%20a%20Pipeline%20that%20is%20based%20on%20a%20.NET%20Desktop%20template%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20first%20task%20in%20the%20agent%20is%20to%20Use%20NuGet%204.4.1%2F%20I%20have%20selected%20the%20Default%20Agent%20Pool%3C%2FP%3E%3CP%3Ethis%20step%20fails%20with%20the%20following%20errror%3B%3C%2FP%3E%3CP%3EYou%20are%20using%20a%20query%20match%20on%20the%20version%20string.%20Behavior%20changes%20or%20breaking%20changes%20might%20occur%20as%20NuGet%20updates%20to%20a%20new%20version.%3C%2FP%3E%3CP%3EERR%3Aconnect%20ETIMEDOUT%20152.199.23.209%3A443%3C%2FP%3E%3CP%3E%23%23%5Bsection%5DFinishing%3A%20Use%20NuGet%204.2.0.2457%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20checked%3A%20the%20IP%20address%20is%20blocked%20by%20our%20firewall%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20i%20disable%20this%20step%2C%20the%20Pipeline%20fails%20on%20the%20next%20step%20which%20is%20the%20NuGet%20restore%20step.%20the%20NuGetError.doc%20attachment%20shows%20the%20errror.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20looks%20to%20me%20like%20it%20was%20not%20able%20to%20download%20the%20required%20local%20Nuget%20packages.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20how%20to%20resolve%20this%20problem.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20someone%20suggest%20a%20solution%3F%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2516276%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBuild%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevOps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Enuget%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPipelines%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I am writing my first BUILD Pipeline and am having problems.

First my environment:

1) On Prem TFS/DEVOPS

2) behind firewall

3) On Prem NuGet Server

4) source is stored in TFVC

5) code is for a CRM plugin 

6) solution consists of around a dozen projects

 

I am trying to create a BUILD pipeline that compiles the checked in code.

i have created a Pipeline that is based on a .NET Desktop template

 

the first task in the agent is to Use NuGet 4.4.1/ I have selected the Default Agent Pool

this step fails with the following errror;

You are using a query match on the version string. Behavior changes or breaking changes might occur as NuGet updates to a new version.

ERR:connect ETIMEDOUT 152.199.23.209:443

##[section]Finishing: Use NuGet 4.2.0.2457

 

i checked: the IP address is blocked by our firewall

 

if i disable this step, the Pipeline fails on the next step which is the NuGet restore step. the NuGetError.doc attachment shows the errror.

 

It looks to me like it was not able to download the required local Nuget packages. 

 

I don't know how to resolve this problem. 

 

Can someone suggest a solution?

thanks

 

 

 

 

 

 

 

0 Replies