timeout option ignored in pipeline

11 views
Skip to first unread message

Sébastien Hinderer

unread,
Sep 16, 2020, 12:35:35 PM9/16/20
to jenkins...@googlegroups.com
Dear all,

I just added a timeout option to a pipeline:

pipeline {
agent { label 'foo' }
options {
timeout(time: 1, unit: 'HOURS')
}
stages { ... }
post { ... }
}

The timeout is not taken into account. The job is running for several
hours now and blocked whereas I was expecting it to be aborted due to
the timeout.

Am I doing something wrong?

thanks,

Sébastien.
Reply all
Reply to author
Forward
0 new messages