timeout option ignored in pipeline

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

timeout option ignored in pipeline

Sébastien Hinderer-2
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?



You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20200916144406.GA27074%40om.localdomain.