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

            amuniz Antonio Muñiz created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-48603 [ JENKINS-48603 ]
            truesoupfly Luis Tejada made changes -
            Link This issue is related to JENKINS-61502 [ JENKINS-61502 ]

            People

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

              Dates

                Created:
                Updated: