In Octopus Deploy, one of the built-in steps is “Deploy a Release”, allowing you to deploy a release of another Octopus project.
I need to both create and deploy a release of another project. (I need to create a new deployment in case octopus variables have changed since the last deploy – I’ll need to use the new variables.)
What is the best way to do this?
The best way to go about this is to create a release with a script step and use an API call. Here is a link to an example that you can modify for your use case: https://github.com/OctopusDeploy/OctopusDeploy-Api/blob/master/REST/PowerShell/Releases/CreateRelease.ps1
Please let me know if that works for you or if you need any further assistance.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.