Sequence contains no elements

(torsten.bremeyer) #1

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.First[TSource](IEnumerable`1 source)
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.

0 Likes

(torsten.bremeyer) #2

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

0 Likes

(Paul Stovell) #3

Hi Torsten,

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

Paul

0 Likes

(system) closed #4
0 Likes