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

      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.

          [JENKINS-26120] Safe sleep step

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-25879 [ JENKINS-25879 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26513 [ JENKINS-26513 ]
          Jesse Glick made changes -
          Link Original: This issue depends on JENKINS-25879 [ JENKINS-25879 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 60 (Web Link)" [ 12126 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-27129 [ JENKINS-27129 ]
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160110 ] New: JNJira + In-Review [ 196323 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

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

              Created:
              Updated:
              Resolved: