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

Safe sleep step

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • pipeline
    • None

    Description

      Groovy defines (Object.)sleep as an alias for Thread.sleep with no checked exceptions, which is nice, but you cannot really use it from a workflow since it just blocks the whole CPS VM thread. Would need to replace it with a Step called sleep that behaves similarly (i.e., timed in milliseconds) but uses an asynchronous callback.

      Attachments

        Issue Links

          Activity

            People

              jglick Jesse Glick
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: