Akin to the build-timeout plugin (which alas is not suitable for direct reuse from Workflow), there should be an option for timeout to expire after a time compared to a "similar" block in the previous build.

          [JENKINS-27396] Elastic timeout in pipeline

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26521 [ JENKINS-26521 ]
          Andrew Bayer made changes -
          Assignee Original: Jesse Glick [ jglick ] New: Andrew Bayer [ abayer ]

          Andrew Bayer added a comment -

          So the first thing that jumps out at me is having to find the "similar" block in previous builds. Once I understand that, the rest should be pretty easy. =)

          Andrew Bayer added a comment - So the first thing that jumps out at me is having to find the "similar" block in previous builds. Once I understand that, the rest should be pretty easy. =)

          Jesse Glick added a comment -

          I think the only reliable way to do that is to have the option include a unique textual ID, whereupon an Action gets attached to the FlowNode recording the ID and observed run time for use in subsequent builds. (TimingAction might already cover the latter.)

          Jesse Glick added a comment - I think the only reliable way to do that is to have the option include a unique textual ID, whereupon an Action gets attached to the FlowNode recording the ID and observed run time for use in subsequent builds. ( TimingAction might already cover the latter.)
          Andrew Bayer made changes -
          Labels New: community-bee
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161601 ] New: JNJira + In-Review [ 180760 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Component/s New: workflow-basic-steps-plugin [ 21712 ]
          Component/s Original: pipeline [ 21692 ]

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: