-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
-
Sprint:nxplatform #108
-
Story Points:2
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.