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

Add a timeout field

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: