Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3789

Tomcat update check should not try to update if download page doesn't respond

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration

      Description

      We've observed cases where the Tomcat download page responds with 404 (temporarily?) ans the job tries to update Tomcat anyway, aka create a Jira issue and a PR.
      See console logs below.
      We should be resilient to such error responses.

       + curl -kfsSL http://downloads.apache.org/tomcat/tomcat-9
       + grep 'href="v'
       + sed 's/.*href="v\(9\.[0-9]\.[0-9]*\).*/\1/g'
       + sort -u
       + tail -1
       curl: (22) The requested URL returned error: 404
       [Pipeline] echo
       Current Tomcat version is = 9.0.86
       [Pipeline] echo
       Latest Tomcat version is = 
       [Pipeline] echo
       Tomcat needs to be updated.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: