FYI, this issue was due to restricted permission for the user. After
relaxing the permission API call worked as expected.
Thanks!
On Wednesday, March 28, 2018 at 4:55:55 PM UTC-5, Jenkins User wrote:
>
> Hi All,
>
> I'm using Jenkins 2.89.4.
>
> I'm making an API call using
>
> /usr/bin/curl -X
Hi All,
I'm using Jenkins 2.89.4.
I'm making an API call using
/usr/bin/curl -X GET -k --cookie `cat cookie.txt`
https://JENKINS_URL/job/MYJOBNAME/lastCompletedBuild/api/xml/ --user
usr:token
But it is resulting in 404 error like below
Error 404 Not Found
HTTP ERROR 404
Problem