Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-256

Support custom restart step/position

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.3.0.Beta3
    • 1.3.0.Beta2
    • jberet-core
    • None

    Description

      For a failed job execution, the subsequent restart will automatically restart from where it failed.

      For a stopped job execution, the subsequent restart will restart from where it was stopped, or the step specified by the <stop restart="xxx"> attribute.

      If any steps in the job.xml has allow-start-if-complete attribute set to true, those steps will also be run regardless if they already completed or not in the prior job execution.

      However, sometimes it's desirable to restart from a restart position different from the above specification, for reasons like:

      • <stop> element has restart attribute, but <fail> element does not, and users want to do the same for a failed job execution.
      • <stop> element in job.xml does not specify restart attribute (maybe forgot).
      • after the job execution had failed or stopped, things have changed, or due to manul intervention, the default restart position should not be used.

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: