There is a shortcut that can help – if you right click on a variable, there’s a Duplicate option. It doesn’t work with multiple selections however, but it should get you part of the way.
We need this as well, please make this a priority.
Until we implement this feature, the work around would be to monitor the deployment using the API and cancel it if a timeout has been reached.
I have written up a script (https://octopus.com/blog/automating-octopus-with-azure-functions) that retrieves all running deployments for a project and cancels it if:
- it has been running for more that 30 minutes
- the first step has been running fro more than 20 minutes
- the first step has not output any logs in 5 minutes
This can run as a scheduled task. Alternatively you can use the subscriptions feature to kick off a piece of code (eg Azure function) that does this polling, as described in this blog post: https://octopus.com/blog/automating-octopus-with-azure-functions
— Robert W
This is very important, please make it a priority. I can't add my vote since I'm "out of votes." (What's up with that?)
We have automated deployments that run 24x7.
We had an unexpected server shutdown, and when the server came back up, the OD tentacle service did not start.
So several automatic deployments were queued up for over two hours whilst the first one was silently waiting for failure guidance.
Everyone was emailing me asking why their code has not yet been deployed!
OD developers, please make this a priority to send an email when guidance is needed.
16 votesMichael W shared this idea ·