Octopus.Client - Redeploy Project

Hi there,

By using the Octopus.Client (nuget package), how would one go about redeploying an existing deployment for a project?

Thanks in advance

Hey @jacoblom,

Welcome to the Octopus Forums!

I took a quick look at our API examples and I found one specifically for redeploying, but it uses REST API.

ReDeployLatestReleaseInEnvironment.ps1

If you want to specifically use Octopus.Client and not REST API, you could combine the logic from the above script with this example to create a script that uses Octopus.Client to redeploy a release.

If you do use the above scripts please first use them in a test environment to make sure you are getting desired results.

Please let me know if this works for you or if you need further help with this.

Thanks,
Jeremy

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.