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

Add a timeout field

XMLWordPrintable

      It would be something like:

      lock (resources: "my-res", timeout: 5) {
         [real work here]
      }
      

      So it tries to lock the resource and give up after 5 seconds.

            amuniz Antonio Muñiz
            amuniz Antonio Muñiz
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: