Auto deploy trigger

mukesh's Avatar


23 Jul, 2017 05:32 PM

Hey Team,

I am able to run Octopus with Team City successfully. Right now I'm doing deploy manually in Release section. I saw an option Triggers. May I know how it will automatically detect once new package found.

Right now release are also I'm creating manually using Release tab. Let me know the automatic way once for"
1. Team City build the code. - Done
2. Octo Pack makes a package. - Done
3. Octopus automatic do a push and make a release configured environment. - Doing manually right now.

What's the way to do third step automatic?

  1. Support Staff 1 Posted by Kenneth Bates on 24 Jul, 2017 04:53 AM

    Kenneth Bates's Avatar

    Hi Mukesh,

    Thanks for getting in touch! You have a couple of options available to automate creating your releases in Octopus. The first way (and the way we strongly recommend) is to use our Team City plugin which is available on our downloads page. This is a great tool to easily integrate with TeamCity. Along with packaging and pushing your packages to Octopus, you can also create and deploy releases from it. It uses Octo.exe under the hood, so it's the most versatile approach. Check out our documentation on integrating Team City with Octopus.

    The second way is to enable the Automatic Release Creation (ARC) feature to detect when a package is uploaded to the Octopus built-in repository. There are limitations to it, however, as it was designed primarily for people using older versions of TFS where their build configuration isn't easily changeable. You can read more about ARC in our documentation.

    The auto deploy triggers feature you mentioned are a bit different, where they won't be able to detect when new packages are uploaded. They're machine-focused, where you can automatically deploy once a new machine has been created. Think auto-scaling, where you add more machines and you want your latest release to automatically deploy to them.

    I hope this all helps! Let me know how you go and if you have any further questions along the way.

    Best regards,


  2. 2 Posted by mukesh on 08 Aug, 2017 11:13 AM

    mukesh's Avatar


    It's working fine for me. I wasn't creating the packages using octo pack. I have one more issue.

    [05:08:46][Octopus Deploy] Finding project: Waiward
    [05:08:46][Octopus Deploy] Finding release 62
    [05:08:46][Octopus Deploy] The resource 'release 62 for project Waiward' was not found.
    [05:08:46][Octopus Deploy] Error from Octopus server (HTTP 404 NotFound)
    [05:08:46][Octopus Deploy] Exit code: -7
    [05:08:46][Octopus Deploy] Octo.exe exit code: -7

    I'm getting above error. I don't know how to fix that.

  3. Support Staff 3 Posted by Kenneth Bates on 10 Aug, 2017 03:08 AM

    Kenneth Bates's Avatar

    Hi Mukesh,

    Thanks for following up! Your log snippet shows that the specified release doesn't exist, and we'll need a lot more info to help you troubleshoot what's going on.
    1) Are you getting this error when trying to deploy a release from TeamCity?
    2) Is your TeamCity configuration set up correctly, as shown in our documentation?
    3) Is this release being created in Octopus, and can you see it in the web portal? If so, can you successfully deploy this exact release manually in Octopus?
    4) If your release isn't being created, can you attach your full TeamCity build logs? Otherwise, if your deployment is what is failing, can you instead attach your full deployment logs (as shown in our documentation)?

    Any and all relevant information on your environment will be appreciated. :)

    Kind regards,


  4. 4 Posted by Mukesh Salaria on 13 Oct, 2017 09:41 AM

    Mukesh Salaria's Avatar

    Hi Kenneth,

    I'm getting an error after adding a web api project to my solution.

    Build *waiward :: Build packages* #196
    <http://localhost:81/viewLog.html?buildId=516&buildTypeId=Waiward_Qa> failed
    (Compilation error: WaiwardCentral.WebApi\WaiwardCentral.WebApi.csproj)
    Agent: localhost

    Changes included: 1 change
    Change 4433 by vsisodiya (10 files
    ): *email notification for work item task*

    Compilation errors

    5): This project references NuGet package(s) that are missing on this
    computer. Use NuGet Package Restore to download them. For more
    information, see The
    missing file is

    Colud you please help

    Best Regards
    Mukesh Kumar
    Software Engineer

  5. Support Staff 5 Posted by Shane Gill on 16 Oct, 2017 02:55 AM

    Shane Gill's Avatar

    Hi Mukesh,

    It looks like a build problem. This might help:


  6. Paul Stovell closed this discussion on 26 Jan, 2018 12:18 AM.

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

Keyboard shortcuts


? 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