Hello team!
I want to receive deployment status to start automated tests after the deployment is complete. But I get an error:
Set-Alias Octo “c:\repos\octo\Octo.exe” -scope Script
Octo list-latestdeployments --server https:// --apikey --project= --environment=
Octopus Deploy Command Line Tool, version 4.31.1
Handshaking with Octopus server: https://myocto
Handshake successful. Octopus version: 3.2.4; API version: 3.0.0
Authenticated as: Bamboo Octopus Service Link
Loading projects…
Loading environments…
Loading dashboard…System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer)
at Octopus.Cli.Commands.Deployment.ListLatestDeploymentsCommand.d__13.MoveNext()
For example - I can successfully get releases ( to check that credentials work):
Set-Alias Octo “c:\repos\octo\Octo.exe” -scope Script
Octo list-releases --server https:// --apikey --project=