Andrew

My feedback

  1. 116 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    7 comments  ·  General » Deployment features  ·  Flag idea as inappropriate…  ·  Admin →

    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

    Andrew supported this idea  · 
  2. 351 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    15 comments  ·  General » Deployment features  ·  Flag idea as inappropriate…  ·  Admin →
    Andrew supported this idea  · 
  3. 447 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    21 comments  ·  General » Setup/administration  ·  Flag idea as inappropriate…  ·  Admin →
    Andrew supported this idea  · 
    Andrew commented  · 

    I agree with Chris Gelhaus, we are faced with the same issue as his org.

Feedback and Knowledge Base