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.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/20200916144406.GA27074%40om.localdomain.

Reply via email to