Octopack push

ZZ's Avatar

ZZ

20 Apr, 2017 03:08 PM

Hello,

Got this in my .csproj file:
  <PropertyGroup>
    <RunOctoPack>true</RunOctoPack>
    <OctoPackPublishPackageToHttp>http://localhost/octopus</OctoPackPublishPackageToHttp>
    <OctoPackPublishApiKey>myKey</OctoPackPublishApiKey>
  </PropertyGroup>

running MSbuild, builds the solution and can see the sucessful message, however nothing been transferred/copied over, it may be something very simple am missing, but can't figure it out.

"
NuGet Version: 3.5.0.38733 (Custom build for OctoPack. See http://g.octopushq
  .com/VersioningInOctopusDeploy)
  Pushing OctoDemoTest.1.2.6.0.nupkg to 'http://localhost/octopus'...
    PUT http://localhost/octopus/
    OK http://localhost/octopus/ 469ms
  Your package was pushed.
"
Many thanks.

  1. Support Staff 1 Posted by Dalmiro Grañas on 20 Apr, 2017 04:42 PM

    Dalmiro Grañas's Avatar

    Hi,

    Thanks for reaching out! If you are trying to push a package to the Octopus built-in directory, then you have the URL wrong in your code snippet.

    It should be [OctopusURL]/nuget/packages. So if you use http://localhost/octopus to access the Octopus porta, it should be http://localhost/octopus/nuget/packages.

    Let me know if that works,
    Dalmiro

  2. 2 Posted by ZZ on 21 Apr, 2017 08:20 AM

    ZZ's Avatar

    Hi,

    Thanks for your prompt reply, yes that worked, as I said there must something simple, but I just could not figure it out (didn't read the docs properly).

    regards,
    ZZ

  3. Paul Stovell closed this discussion on 27 Jul, 2017 12:37 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac