Team City 2018.1.2 Nuget Publish failing

 

[11:37:32][Step 10/10] push: Publish package soip2\temp\SOIP2.1.3.10.8.nupkg (1s)
[11:37:32][push] NuGet command: C:\TeamCity\buildAgent\plugins\nuget-agent\bin\JetBrains.TeamCity.NuGetRunner.exe C:\TeamCity\buildAgent\tools\NuGet.CommandLine.4.7.0\tools\NuGet.exe push C:\TeamCity\buildAgent\work\SOIP2\soip2\temp\SOIP2.1.3.10.8.nupkg ******* -Source http://192.168.9.105:8080/httpAuth/app/nuget/feed/Lib/default/v2
[11:37:32][push] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script5406023855147849246.cmd
[11:37:32][push] in directory: C:\TeamCity\buildAgent\work\SOIP2\soip2\temp
[11:37:32][push] JetBrains TeamCity NuGet Runner 2018.1.3841.0
[11:37:32][push] Registered additional extensions from paths: C:\TeamCity\buildAgent\plugins\nuget-agent\bin\plugins-4.0
[11:37:32][push] Starting NuGet.exe 4.7.0.5 from C:\TeamCity\buildAgent\tools\NuGet.CommandLine.4.7.0\tools\NuGet.exe
[11:37:33][push] Pushing SOIP2.1.3.10.8.nupkg to 'http://192.168.9.105:8080/httpAuth/app/nuget/feed/Lib/default/v2'...
[11:37:33][push] Please provide credentials for: http://192.168.9.105:8080/httpAuth/app/nuget/feed/Lib/default/v2
[11:37:33][push] Cannot prompt for input in non-interactive mode.
[11:37:33][push] UserName: Unauthorized http://192.168.9.105:8080/httpAuth/app/nuget/feed/Lib/default/v2/ 539ms
[11:37:33][push] Response status code does not indicate success: 401 ().
[11:37:33][push]
[11:37:33][push]
 
 
This is local internal nuget server from TeamCity, API key:  %teamcity.nuget.feed.api.key% 
 
NuGet Feed:
 
 
1
1 comment

Hi Piotr,

 

please check our instructions for publishing to the internal nuget feed here: https://confluence.jetbrains.com/display/TCD18/NuGet+Publish

 

If that doesn't work, please share the build log for the full step, from the first line. Feel free to send us the full build log if you want to keep it private through the submit a request button above.

0

Please sign in to leave a comment.