How do you get TeamCity to publish OctoPack NuGet packages to its Nuget Feed?

Hey Paul,

I am running TeamCity 7.1 EAP (build 23373) in conjunction with OctoPack 1.0.106. I have a CI build successfully compiling/packaging projects and producing artifacts (downloadable via the Artifacts link). I have also enabled the NuGet server capability in TeamCity. I have read the following posts/help documentation to get to this point:


http://blogs.jetbrains.com/teamcity/2011/12/01/setting-up-teamcity-as-a-native-nuget-server/
http://confluence.jetbrains.net/display/TCD7/NuGet

And yet, when I view my NuGet feed, there aren’t any packages listed. The only difference that I can discern is that I’m using OctoPack rather than TeamCity’s NuGet Pack build step and that it must be doing some magic under the hood.

I’m looking forward to further blog posts in your series and assuming that your next one will touch on this bit of configuration that I’m missing. Any tips would be appreciated in advance of waiting for your more thorough blog post(s).

Thanks,

David

Hi David,

Do the built NuGet packages appear in the Artifacts list after the build completes?

Would you mind sending your TeamCity build log through?

Paul

Hey Paul,

They do. I can send a screenshot and build log tomorrow. I don’t have access to them right now.

Thanks for the quick reply.

David

As it turns out, Paul showed me how dumb my question was in the politest manner possible. I had clicked the feed link in TeamCity and it showed nothing. What I was missing was the “/Packages” on the end of the URI.

Thanks so much for taking the time to chat, Paul!

Anytime David, thanks for the update :slight_smile: