Friday, May 19, 2017

I was trying to wget one of Jenkins Artifacts, but was continuously getting a 404 error.

HTTP request sent, awaiting response... 404 Not Found
2017-05-19 13:12:13 ERROR 404: Not Found.

My request was as follows.


So my issue was, My URL had some special charactors. (tools$ballerina-tools) A $ character. So Bash droped this when fetching the artefact, So Jenkins was unable to find the actual resource. To solve this type of issue you can use a scape charater to skip the special character.


Full Request is as Follows.


This is one of million ways to get an 404 error, Just mentioning to help someone to save couple of hours. :)
Categories: ,


Post a Comment

Subscribe to RSS Feed Follow me on Twitter!