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

Pipeline with docker should support retry when pull image failed.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins: 2.164.3
      Pipeline Model Definition Plugin : 1.3.3

      we need an option configure like 'alwaysPull' that can support retry when pull image failed due to some unexpected situations. Also we can configure with retry in the option block, but I don't like that.
      [Pipeline] stage[Pipeline] { (Declarative: Agent Setup)[Pipeline] sh+ docker pull xxx
      Error response from daemon: received unexpected HTTP status: 503 Service Unavailable

            Unassigned Unassigned
            daniel1zhang daniel zhang
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: