Cake: Arguments missing for Octopus Deploy tool

Created on 2 May 2017  路  3Comments  路  Source: cake-build/cake

Octopus Deploy provides the tool Octo.exe, which is integrated into Cake under the Cake.Common.Tools.OctopusDeploy namespace. One feature that the tool provides is to deploy the latest release from a selected channel (using options _--channel "Beta" --version latest_).

The thing is that not every option is currently available through Cake, such as the _channel_ option, so one has to resort to invoking Octo.exe directly. It would be nice if this option, and maybe others, could be added to OctopusDeployReleaseDeploymentSettings.

Feature

Most helpful comment

@islopma

so one has to resort to invoking Octo.exe directly.

Instead of resorting to calling Octo.exe directly you could always use ArgumentCustomization on OctopusDeployReleaseDeploymentSettings as a workaround.

That said. Are you in a position to submit a PR for adding Channel and Version/ReleaseNumber to OctopusDeployReleaseDeploymentSettings?

All 3 comments

@islopma

so one has to resort to invoking Octo.exe directly.

Instead of resorting to calling Octo.exe directly you could always use ArgumentCustomization on OctopusDeployReleaseDeploymentSettings as a workaround.

That said. Are you in a position to submit a PR for adding Channel and Version/ReleaseNumber to OctopusDeployReleaseDeploymentSettings?

That's a nice workaround. I will test it and if it works I will be submitting a PR with the Channel option.

Fixed by #1590

Was this page helpful?
0 / 5 - 0 ratings