Need to configure the job level timeout option for

2019-09-14 07:47发布

I am using rundeck 1.6 version and need to configure timeout option for the rundeck jobs so that when the job exceeds the timeout value, it automatically stops without going to the next step.

Thanks

标签: rundeck
2条回答
贼婆χ
2楼-- · 2019-09-14 08:19

On server from Rundeck installed, alter the file /etc/ssh/ssh_config to:

Host *

ServerAliveInterval 180 ServerAliveCountMax 2

查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-09-14 08:22

As 2.7 Rundeck support Job Timeout

Timeout You can set a maximum runtime for a job. If the runtime exceeds this value, the job will be halted (as if a user had killed it.) (Note: Timeout only affects the job if is invoked directly, not if it is used as a Job Reference.)

enter image description here

查看更多
登录 后发表回答