Reputation: 12525
I have a cloud service project. After revewing the documentation at http://docs.octopusdeploy.com/display/OD/Windows+Azure it mentions I have to create a nuget package with cloud service package (*.cspkg) along with the service configuration file.
I went ahead and wrote this script to do that:
msbuild.exe ../Eff.Cloud/Eff.Cloud.ccproj /t:Publish /p:VisualStudioVersion=12.0 /p:RunOctoPack=true
nuget pack ../_build/Eff.nuspec
I run this after building my project in Team City, but I don't see this package appearing as an artifact in Team City, any idea what I am doing wrong? When I run it locally it creates a package in the _Build folder.
Is there an easier way to do this with Octopack?
Thanks!
Upvotes: 2
Views: 3185
Reputation: 179
There three ways of doing Octopus nuget package:
For more information http://docs.octopusdeploy.com/display/OD/Packaging+applications
Upvotes: 1
Reputation: 1494
This is how I got it working for TeamCity 9.X.
Now my NuGet packages show as build artifacts.
Some assumptions I made were that you are using TeamCity 9.X and that you have a build step that uses Visual Studio as the runner type. Hope this helps.
Upvotes: 1