Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Unassigned: CI server + nuget.exe command line options [3305]

$
0
0
Could the [command lines](http://docs.nuget.org/docs/reference/command-line-reference) be extended to include an explicit option for Continuous Integration servers to allow nuget package updates etc on build servers or build Agent PC's?

NuGet.exe -config -SET EnableNuGetPackageRestore=True

This would reduce the need to set environment variables or open up Visual Studio under a CI authenticated user to set the user specific setting on multiple build servers/agents.


Comments: Thanks DotnetJunky for the information about -RequireConsent, the documentation wasn't clear about it's relationship to EnableNuGetPackageRestore environment variable (system or user environment variables). That seems to cover the case where the CI server installs the current Nuget packages for testing the software, what about the situation where the CI server wants to test upgraded packages? Pranavkm, Thanks for pointing me in the direction of this option. While changing the values in my 50 or so code repositories wouldn't take that long, the change automatically changes the behaviour of the VS Build process for all developers using the solution. I've got to think about the implications of that change and how developers interact with nuget.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>