Settings and activity
4 results found
-
68 votes
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 minutesThis 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
Bob Hardister supported this idea ·
-
9 votes
Bob Hardister supported this idea ·
An error occurred while saving the comment -
54 votes
An error occurred while saving the comment Bob Hardister commented
We step a step template that can be added at the end of the process, but fires when a deployment goes into guided failure. We can then run a script or trigger a notification to a Slack channel
Bob Hardister supported this idea ·
-
10 votes
Bob Hardister supported this idea ·
Please offer the option for this to run on a schedule as well.