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

Allow to retry shell build step up to N times

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Allowing to retry a shell build step up to N times can be very convenient to solve certain issues like JENKINS-30064 in a more general way.

      Also the current feature that allows to retry a whole job might be overkill in some situations where we only want to retry certain build steps and not the whole job.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          Not really needed for shell/batch steps as the script can do the job of doing retries as appropriate. Seems like an overly complex solution to a problem that doesn't really exist.

          Show
          danielbeck Daniel Beck added a comment - Not really needed for shell/batch steps as the script can do the job of doing retries as appropriate. Seems like an overly complex solution to a problem that doesn't really exist.
          Show
          elgalu Leo Gallucci added a comment - The problem exists, see travis_retry or https://github.com/jenkinsci/workflow-plugin/blob/master/basic-steps/src/main/java/org/jenkinsci/plugins/workflow/steps/RetryStep.java

            People

            Assignee:
            fbelzunc Félix Belzunce Arcos
            Reporter:
            elgalu Leo Gallucci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: