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

lock step interacts badly with timeout step

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jekeller Jacob Keller
            • Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: