Sequence contains no elements

torsten.bremeyer's Avatar

torsten.bremeyer

24 Jan, 2013 02:00 PM

I use the following command:
Octo.exe create-release --project="MyProject" --deployto=Dev.Prod --version="8.1.0.10" --packageversion="8.1.0.10" --force --waitfordeployment --deploymenttimeout=00:15:00 --server=http://192.168.175.31/api --apikey=
Octopus Command Line Tool, version 1.1.17.55

Finding project: MyProject
Handshaking with Octopus server: http://192.168.175.31/api
Handshake successful. Octopus version: 1.3.0.1535; API version: 2.0.0
Finding environments...
Finding steps for project...
Getting package versions for each step...
Sequence contains no elements
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.FirstTSource at ProjectExtensions.GetPackageForStep(IOctopusSession session, Step step, String version) at OctopusTools.Commands.CreateReleaseCommand.Execute() at OctopusTools.Infrastructure.CommandProcessor.Process(String[] args)

The project has 3 packages to deploy and 3 Steps to execute a Powershell script. I suspect the Octo.exe does not know about the Steps that only contain Powershell scripts.

  1. 1 Posted by torsten.bremeye... on 14 Feb, 2013 01:53 PM

    torsten.bremeyer's Avatar

    I was able to deploy with Octo.exe with the newest changes from https://github.com/OctopusDeploy/Octopus-Tools.
    Thank you Paul

  2. Support Staff 2 Posted by Paul Stovell on 18 Feb, 2013 08:40 AM

    Paul Stovell's Avatar

    Hi Torsten,

    Thanks for letting us know, yes, this issue should now be fixed. You can download Octo.exe from:

    http://octopusdeploy.com/downloads

    Paul

  3. torsten.bremeyer closed this discussion on 10 Mar, 2014 07:23 AM.

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