I am using Visual Studio Online - viewing the package manager along with the new build system. A preview of the package manager adds several build steps, including the “NuGet Publisher” step, which should push the packages to a private channel hosted in Visual Studio Online.
Now the documentation here is a bit lower). Like auth documentation and personal access sheets . There are some indications that you do not need authorization between VSO and the package manager if you have permissions set (the build account has permissions for the service endpoint and for extension of the package manager). In the actual build step, you are prompted to select a service from the list of endpoints, so I tried to do this.
When I do not add credentials to the service endpoint, I get an error message:
Server Key must be set, set the password on the generic service
When I try to put the API key in the service endpoint, it seems to be discarded when saved ... and the error will change to:
2015-11-18T08:35:24.5678951Z Invoking nuget with push C:\a\1\s\EventViewer\bin\Release\Project.Name.1.1.12.0.nupkg -s https://example.pkgs.visualstudio.com/DefaultCollection/_packaging/example/nuget/v3/index.json usfusmx4ez6mlfqwpp2abzc7e37denfcp7bxsep2hqij3tp4qwvq on C:\a\1\s\EventViewer\bin\Release\Project.Name.1.1.12.0.nupkg 2015-11-18T08:35:24.5688946ZC:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\default\agent\worker\tools\NuGet.exe push C:\a\1\s\EventViewer\bin\Release\Project.Name.1.1.12.0.nupkg -s https://example.pkgs.visualstudio.com/DefaultCollection/_packaging/Example/nuget/v3/index.json usfusmx4ez6mlfqwpp2abzc7e37denfcp7bxsep2hqij3tp4qwvq 2015-11-18T08:35:25.3467312Z Please provide credentials for: https://example.pkgs.visualstudio.com/DefaultCollection/_packaging/Example/nuget/v3/index.json 2015-11-18T08:35:25.3667189Z
I also tried using the access token to no avail.
How do I get the publishing step to work?
source share