2017-07-19 52 views
0

我們剛剛開始Octopus Deploy並在我們的ASP.NET Web Application (.NET 4.6)中安裝了OctoPack。當我輸入並運行這個命令:/p: RunOctoPack=true,這一切都很好。然而,當我進入進一步命令/p:OctoPackPublishPackageToHttp=http://blahblah,它開始扔我下面的錯誤:OctoPack Nuget錯誤

C:\Builds\11\Vocal Area VA\VA Octo\src\VA\DEV 1\Telrik\packages\OctoPack.3.6.1\build\OctoPack.targets (109): The command ""C:\Builds\11\Vocal Area VA\VA Octo\src\VA\DEV 1\Telrik\packages\OctoPack.3.6.1\build\nuget.exe" push "C:\Builds\11\Vocal Area VA\VA Octo\src\VA\DEV 1\Telrik\DSC.VA.WEB\obj\octopacked\DSC.VA.WEB.1.0.0.0.nupkg" -Source http://octodeploy/nuget/packages " exited with code 1. 

回答

0

嘗試,並通過NuGet.exe命令行工具手動推包。

nuget.exe push -Source {NuGet package source URL} -ApiKey key {your_package}.nupkg 

這工作?

0

/P:RunOctoPack = TRUE/P:OctoPackPackageVersion = $ {Your_octoPackPackageVersion}/P:OctoPackPublishPackageToHttp = {Your_Adress}/P:OctoPackPublishApiKey = {Your_ApiKey},編碼: 「UTF-8」

你能重構你的劇本與它?應該管用。