Search code examples
continuous-deliverygo-cd

Kill long running pipeline automatically in GoCD


Is it possible to automatically kill long running pipeline in GoCD, if taking more time than anticipated.


Solution

  • You can Specify default job timeout at the server level and also at the job level, see Job Timeout for details.

    You must be logged in as an admin user to configure this step.

    • Navigate to the Admin section on the Go dashboard.
    • Navigate to Server configuration
    • Navigate to the pipeline management sub-section

    enter image description here

    Or

    You must be logged in as an admin user to configure this step.

    • Navigate to the Admin section on the Go dashboard.
    • Navigate to the job settings page for the job.

    enter image description here