Closed VerdonTrigance closed 6 years ago
@VerdonTrigance The reported error is from NuGet.exe. Please take a look at https://stackoverflow.com/questions/29395683/nuget-with-artifactory-key-not-valid-for-use-in-specified-state.
@bmanikm Thank you. I will check it soon.
@bmanikm Trully, I reenter nuget.exe config -set http.proxy.password=Pass and error is gone. Thank you.
I have multiple PSRepositories: PSGallery, VSTS, On-Prem. I'm going to publish my custom ps module to VSTS. I'm using same service account that run VSTS agent service which has no logonLocally permissions in domain. I enter to PSSession with that account credential to VM where agent service works. All servers under the proxy. After that I run Publish-Module... Same happening if run under VSTS agent, not PSSession.
Expected Behavior
Module is published to VSTS
Current Behavior
Possible Solution
Add -Proxy param to Publish-Module ?
Steps to Reproduce (for bugs)
Context
Trying to publish custom module that have nested extrenal modules (like SqlServer as above).
Your Environment