Default Timeout
At this time, there is no setting to change the default timeout of jobs that have an active SSH session. If you terminate the SSH session in your terminal, the job will automatically end after 10 minutes.
Workaround
One work around would be to create a script that determines if SSH is enabled, and run it in the background. You could then use a command like sleep
to cancel the job after a defined time has elapsed. This could be added as a step to your job.
Comments
Article is closed for comments.