Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50260

lock step interacts badly with timeout step

XMLWordPrintable

      I have a job which takes a lock {} inside of a timeout {} block.

      If the timeout expires, then the lock {} is not freed, which results in future taking of the lock becoming a deadlock.

      It seems like timeout {} should properly free the lock when forcing an exit from the lock() step? Is this just a bad pipeline/workflow pattern?

            Unassigned Unassigned
            jekeller Jacob Keller
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: