|
I'm trying to configure Nugetter to push my NuGet package to a private NuGet Server which requires an API Key.
At first, I specified my API Key in the "Api Key or File Path" field and the push failed because it could not find a file with the name of my Api Key:
Could not find file 'C:\Builds\1\{my solution}\{my build definition}\Sources\{my api key}'.
So I created a folder and file in my solution: Nugetter\apikey.txt. The contents of this text file are only my API Key (I could not find an example in the documentation). Now, Nugetter tells me that it cannot find an API key in the file:
GetApiKey
Did not find an API key in the file: Nugetter\apikey.txt - was looking in this path: C:\Builds\1\{my solution}\{my build definition}\Sources\Nugetter\apikey.txt
I think that I have the rest of the fields configured properly:
Create Only - Do Not Publish: False
Invoke Push Switch: True
Source (Push Destination): http://{private nuget server}:{port}/
Any help will be greatly appreciated!
|