octopus deploy - Unable to download package: Could not find package ... in feed -
i set octopus first time try how works. far installed octopus server, tentacle , configured nuget local feed. published package using octopack, created release , i'm trying deploy staging.
on first step error package not downloaded nuget. error unable download package: not find package web 1.0.0.0 in feed: '\solomon\deednugetfeed\' system.exception: not find package web 1.0.0.0 in feed: '\solomon\deednugetfeed\'
well, package there, nuget repository test succeeds.
the portal, octopus service , nuget feed running on win2008 machine. @ first octopus server using default local system account, portal default applicationpoolidentity (the portal has own pool). while trying deploy got error listed above. then, created new local account, added administrators group , set both octopus service , app pool run using new account. nuget folder shared new account. unfortunately didn't have effect (all services restarted).
do have clue missing?
thanks!
if using octopack, should use octopus built in nuget feed nuget package step. other options slower you.
the following msbuild parameters working octopack successfully. need octopus api user , api key.
command line arguments:
/t:rebuild /p:autoparameterizationwebconfigconnectionstrings=false /p:debugsymbols=false /p:debugtype=none /p:isautobuild=true /p:createpackageonpublish=true /p:configuration=release;deployonbuild=true;packagelocation=".\obj\release\myproject.zip";packageassinglefile=true /p:runoctopack=true /p:octopackpackageversion=%version%-dev /p:octopackpublishpackagetohttp=http://octopus.yourdomain.com/nuget/packages /p:octopackpublishapikey=api-xxxxxxxxxxxxx after should deploy deploy.cmd, coming msbuild. should add deploy.ps1 csproj. call myproject.deploy.cmd in powershell script. remember must name nuspec file same name csproj file. octopus automatically deploys files content propertied sln files.
Comments
Post a Comment