Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-20444

jenkins pipeline retry{} block not repeating upon failure

    Details

    • Templates:
    • Story Points:
      0.625
    • Epic Link:
    • Team:
      SQuaRE

      Description

      This build of build-layercake failed on the first try of an image build without retrying despite the failing section being wrapped with a retry block. Eg.,

      https://ci.lsst.codes/job/sqre/job/infra/job/build-layercake/44/console

                stage(tsTag) {
                  retry(retries) {
                    tsBuild = packIt('centos_devtoolset.json', [
                      "-var base_image=${baseTag}",
                      "-var build_repository=${buildRepo}",
                      "-var build_name=${tsName}",
                      "-var scl_compiler=${scl}",
                    ])
                  } // retry
                  images << [(tsTag): tsBuild]
                } // stage
      
      

        Attachments

          Activity

            People

            • Assignee:
              jhoblitt Joshua Hoblitt
              Reporter:
              jhoblitt Joshua Hoblitt
              Watchers:
              Joshua Hoblitt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel